Quote mpoint in umount_command
This commit is contained in:
parent
f9986f9640
commit
cf9f09619b
@ -1,6 +1,10 @@
|
|||||||
ChangeLog for davfs2
|
ChangeLog for davfs2
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
2011-06-25 Werner Baumann (werner.baumann@onlinehome.de)
|
||||||
|
* umount_davfs.c:
|
||||||
|
Quote mpoint in umount_command.
|
||||||
|
|
||||||
2011-06-25 Werner Baumann (werner.baumann@onlinehome.de)
|
2011-06-25 Werner Baumann (werner.baumann@onlinehome.de)
|
||||||
* mount_davfs.c:
|
* mount_davfs.c:
|
||||||
Always canonicalize mount point.
|
Always canonicalize mount point.
|
||||||
|
@ -141,7 +141,7 @@ main(int argc, char *argv[])
|
|||||||
char *pidfile = ne_concat(DAV_SYS_RUN, "/", mp, ".pid", NULL);
|
char *pidfile = ne_concat(DAV_SYS_RUN, "/", mp, ".pid", NULL);
|
||||||
free(mp);
|
free(mp);
|
||||||
|
|
||||||
char *umount_command = ne_concat("umount -i ", mpoint, NULL);
|
char *umount_command = ne_concat("umount -i '", mpoint, "'", NULL);
|
||||||
|
|
||||||
char *pid = NULL;
|
char *pid = NULL;
|
||||||
FILE *file = fopen(pidfile, "r");
|
FILE *file = fopen(pidfile, "r");
|
||||||
|
Loading…
Reference in New Issue
Block a user