diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-09-21 18:02:50 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-09-21 21:03:47 +0200 |
commit | bb6fd1a15f32d79ddaa351704dea47ad9e5ab9be (patch) | |
tree | a0fc512de23cfc1ea5b576eaea9f0b0e6864f366 /test/lib | |
parent | 5bd99d55b023f1e105bea6033aa57db3987f2ba5 (diff) | |
download | lvm2-bb6fd1a15f32d79ddaa351704dea47ad9e5ab9be.tar.gz |
shellcheck: warning enhancements
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/aux.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/aux.sh b/test/lib/aux.sh index 25e8c2ca5..ca9406383 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -607,7 +607,7 @@ teardown() { # Remove any dangling symlink in /dev/disk (our tests can confuse udev) test -d /dev/disk && { - find /dev/disk -type l ! -exec /usr/bin/test -e {} \; -print | xargs rm -f || true + find /dev/disk -type l ! -exec /usr/bin/test -e {} \; -print0 | xargs -0 rm -f || true } # Remove any metadata archives and backups from this test on system @@ -1200,7 +1200,7 @@ remove_dm_devs() { } remove=( "${held[@]}" ) done - die "Can't remove device(s) ${held[@]}" + die "Can't remove device(s) ${held[*]}" } # Throttle down performance of kcopyd when mirroring i.e. disk image |