In rmmountpoint, have to explicitly check for ABS_PATH (*not* NEED_ROOT).

This commit is contained in:
Richard Jones
2009-08-13 14:41:05 +01:00
parent 0790c58e36
commit dcd67e2c4e

View File

@@ -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;