summaryrefslogtreecommitdiff
path: root/tests/t6006-dm-512b-sectors.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t6006-dm-512b-sectors.sh')
-rw-r--r--tests/t6006-dm-512b-sectors.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t6006-dm-512b-sectors.sh b/tests/t6006-dm-512b-sectors.sh
index c3045af..16ca885 100644
--- a/tests/t6006-dm-512b-sectors.sh
+++ b/tests/t6006-dm-512b-sectors.sh
@@ -39,7 +39,7 @@ cleanup_fn_() {
sleep .2
[ -e "/dev/mapper/$linear_" ] && dmsetup remove $linear_
sleep .2
- [ -e "/dev/mapper/${linear_}1" -o -e "/dev/mapper/$linear_" ] || i=10
+ [ -e "/dev/mapper/${linear_}1" ] || [ -e "/dev/mapper/$linear_" ] || i=10
i=$((i + 1))
done
udevadm settle