diff --git a/daemon/mount.c b/daemon/mount.c index 4f74c0286..d1b26fa7b 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -373,6 +373,9 @@ do_rmmountpoint (const char *path) { int r; + /* NEED_ROOT (return -1); - we don't want this test for this call. */ + ABS_PATH (path, return -1); + CHROOT_IN; r = rmdir (path); CHROOT_OUT;