]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: cleanup ts_is_mounted
authorBernhard Voelker <mail@bernhard-voelker.de>
Tue, 31 Jul 2012 06:24:13 +0000 (08:24 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 31 Jul 2012 18:02:05 +0000 (20:02 +0200)
* tests/functions.sh (ts_is_mounted): Remove check for canonicalization
failure again, because it is now done by ts_canonicalize.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
tests/functions.sh

index 0613505fe24a212611fa218d420f171b7bcc51f4..9716534a25cff2c58f27acec75097dd71187fee1 100644 (file)
@@ -394,9 +394,6 @@ function ts_device_has_uuid {
 
 function ts_is_mounted {
        local DEV=$(ts_canonicalize "$1")
-       if [ ".$DEV" = '.' ]; then
-         DEV=$1
-       fi
 
        grep -q $DEV /proc/mounts && return 0