mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: mask result from kill command
This commit is contained in:
parent
cd6e1d0475
commit
e54bfe2a83
@ -47,7 +47,7 @@ not vgremove --config 'global { wait_for_locks = 0 }' $vg
|
||||
test -f "$TESTDIR/var/lock/lvm/P_global" # still running
|
||||
# First kill 'sleep' process forked from flock
|
||||
# Not using 'flock -F' since this flag is newer
|
||||
kill $(ps -o pid --no-headers --ppid "$flock_pid")
|
||||
kill "$flock_pid"
|
||||
kill $(ps -o pid --no-headers --ppid "$flock_pid") || true
|
||||
kill "$flock_pid" || true
|
||||
|
||||
vgremove -ff $vg
|
||||
|
Loading…
Reference in New Issue
Block a user