Quote mpoint in umount_command
This commit is contained in:
@ -141,7 +141,7 @@ main(int argc, char *argv[])
|
||||
char *pidfile = ne_concat(DAV_SYS_RUN, "/", mp, ".pid", NULL);
|
||||
free(mp);
|
||||
|
||||
char *umount_command = ne_concat("umount -i ", mpoint, NULL);
|
||||
char *umount_command = ne_concat("umount -i '", mpoint, "'", NULL);
|
||||
|
||||
char *pid = NULL;
|
||||
FILE *file = fopen(pidfile, "r");
|
||||
|
Reference in New Issue
Block a user