]> git.ipfire.org Git - thirdparty/util-linux.git/commit
umount: be more strict about --all
authorKarel Zak <kzak@redhat.com>
Thu, 6 Jun 2019 12:52:40 +0000 (14:52 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 6 Jun 2019 12:56:48 +0000 (14:56 +0200)
commitbf0a0e3e2aad599919536a9e3244686fd4292e10
treea2c516d12d77e367cbbea4d845b64b30bba3b5c2
parent33985f1149598e9d5740cc6b851d979e3a8b84a5
umount: be more strict about --all

If you by accident execute

umount ls -al /mnt/

then umount --all is executed and another arguments silently ignored.
It seems better to be more strict in this case.

Reported-by: Harald Dunkel <harald.dunkel@aixigo.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/umount.c