]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - mount/umount.c
Imported from util-linux-2.13-pre3 tarball.
[thirdparty/util-linux.git] / mount / umount.c
index 0eab348fbc9529d3d70737a9c930a40b38c2118d..80030c9e3420d6472d6e228052d44c82a4c6150a 100644 (file)
@@ -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"));
        }