[Bug 10771] busybox umount -t fstype without -a causes unexpected umount

bugzilla at busybox.net bugzilla at busybox.net
Tue Feb 20 16:43:31 UTC 2018


https://bugs.busybox.net/show_bug.cgi?id=10771

--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> ---
Does this help?

        // If we're not umounting all, we need at least one argument.
-       if (!(opt & OPT_ALL) && !fstype) {
+       // Note: "-t FSTYPE" does not imply -a.
+       if (!(opt & OPT_ALL)) {
                if (!argv[0])
                        bb_show_usage();
                m = NULL;

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list