summaryrefslogtreecommitdiffstats
path: root/mount/umount.c
diff options
context:
space:
mode:
Diffstat (limited to 'mount/umount.c')
-rw-r--r--mount/umount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/umount.c b/mount/umount.c
index 0eab348fb..80030c9e3 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"));
}