(mail_folders): Protect directory name with quotes.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -48,7 +48,7 @@ mail_folders (int argc, char **argv) | ... | @@ -48,7 +48,7 @@ mail_folders (int argc, char **argv) |
48 | 48 | ||
49 | path = util_fullpath (path); | 49 | path = util_fullpath (path); |
50 | 50 | ||
51 | util_do_command("! %s %s", getenv ("LISTER"), path); | 51 | util_do_command("! %s '%s'", getenv ("LISTER"), path); |
52 | free(path); | 52 | free(path); |
53 | 53 | ||
54 | return 0; | 54 | return 0; | ... | ... |
-
Please register or sign in to post a comment