mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
tests: shellcheck prevention check
Always make sure variable is set to something else the /dev/*
This commit is contained in:
parent
cafcc5813a
commit
14abe1e87b
@ -399,7 +399,7 @@ teardown_devs_prefixed() {
|
||||
local once=1
|
||||
local dm
|
||||
|
||||
rm -rf "$TESTDIR/dev/$prefix*"
|
||||
rm -rf "${TESTDIR:?}/dev/$prefix*"
|
||||
|
||||
# Send idle message to frozen raids (with hope to unfreeze them)
|
||||
for dm in $(dm_status | egrep "$prefix.*raid.*frozen"); do
|
||||
|
Loading…
x
Reference in New Issue
Block a user