]> git.ipfire.org Git - thirdparty/util-linux.git/commit
umount: fix umount by tag for non-roots
authorKarel Zak <kzak@redhat.com>
Tue, 19 Nov 2013 16:55:12 +0000 (17:55 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 19 Nov 2013 16:55:12 +0000 (17:55 +0100)
commitd41acf740ecbe0493139582d6833db4f2938cf5d
tree1ccd833f009ada3ac4c1c46a282c6822fc84bd42
parentc1178175e7adb35388a3e34495974d7f24f45d5d
umount: fix umount by tag for non-roots

 $ umount LABEL=foo

currently does not work for non-root users as umount uses the
LABEL= as a path in sanitize_path().

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/umount.c