From dcd67e2c4e81bb270ea7f5ed8b6675b114afca60 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 13 Aug 2009 14:41:05 +0100 Subject: In rmmountpoint, have to explicitly check for ABS_PATH (*not* NEED_ROOT). --- daemon/mount.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'daemon') diff --git a/daemon/mount.c b/daemon/mount.c index 4f74c028..d1b26fa7 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; -- cgit