diff options
author | Karel Zak <kzak@redhat.com> | 2006-12-07 00:27:03 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2006-12-07 00:27:03 +0100 |
commit | 9cb689775c56f308cd2128747b3bb6d5a37be213 (patch) | |
tree | d6a22fb6aac0284987f3c6900b8b8df3c205101d /mount/umount.c | |
parent | baf39af15b1fe8570e6430788ec7cd4959fbc5d9 (diff) | |
download | util-linux-old-9cb689775c56f308cd2128747b3bb6d5a37be213.tar.gz |
Imported from util-linux-2.13-pre3 tarball.
Diffstat (limited to 'mount/umount.c')
-rw-r--r-- | mount/umount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/umount.c b/mount/umount.c index 0eab348f..80030c9e 100644 --- a/mount/umount.c +++ b/mount/umount.c @@ -707,7 +707,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")); } |