diff options
Diffstat (limited to 'tests/functions.sh')
-rw-r--r-- | tests/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functions.sh b/tests/functions.sh index 44e087cdb..6f786e797 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -545,7 +545,7 @@ function ts_is_mounted { grep -q $DEV /proc/mounts && return 0 if [ "${DEV#/dev/loop/}" != "$DEV" ]; then - return grep -q "/dev/loop${DEV#/dev/loop/}" /proc/mounts + grep -q "/dev/loop${DEV#/dev/loop/}" /proc/mounts && return 0 fi return 1 } |