summaryrefslogtreecommitdiffstats
path: root/mount
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:26:44 +0100
committerKarel Zak2006-12-07 00:26:44 +0100
commit9d761c85e04d9ec6d611e3ae5b860f0d91fe95ce (patch)
tree83bc44d67051c8818ae7f309c34481ee43d99dc6 /mount
parentImported from util-linux-2.12q tarball. (diff)
downloadkernel-qcow2-util-linux-9d761c85e04d9ec6d611e3ae5b860f0d91fe95ce.tar.gz
kernel-qcow2-util-linux-9d761c85e04d9ec6d611e3ae5b860f0d91fe95ce.tar.xz
kernel-qcow2-util-linux-9d761c85e04d9ec6d611e3ae5b860f0d91fe95ce.zip
Imported from util-linux-2.12r-pre1 tarball.
Diffstat (limited to 'mount')
-rw-r--r--mount/umount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/umount.c b/mount/umount.c
index b26c28d45..db63d96a8 100644
--- a/mount/umount.c
+++ b/mount/umount.c
@@ -714,7 +714,7 @@ main (int argc, char *argv[]) {
if (getuid () != geteuid ()) {
suid = 1;
- if (all || types || nomtab || force)
+ if (all || types || nomtab || force || remount)
die (2, _("umount: only root can do that"));
}