diff options
author | Petr Rockai <prockai@redhat.com> | 2014-10-01 11:53:24 +0200 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2014-10-01 11:53:24 +0200 |
commit | 2120c247f1846699e1deb2e98d075162b72036d0 (patch) | |
tree | 78d3dec970bd059cf29782a5d2837005aa60903a | |
parent | ca6b9476c31d4d3934d50493d3f289eeab28bc4b (diff) | |
download | lvm2-2120c247f1846699e1deb2e98d075162b72036d0.tar.gz |
test: It is not an error for a test daemon to exit before teardown.
-rw-r--r-- | test/lib/aux.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/aux.sh b/test/lib/aux.sh index 1a0229583..c83ee09f1 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -213,7 +213,7 @@ kill_sleep_kill_() { slow=$2 if test -s $pidfile ; then pid=$(< $pidfile) - kill -TERM $pid + kill -TERM $pid || return 0 if test $slow -eq 0 ; then sleep .1 ; else sleep 1 ; fi kill -KILL $pid 2>/dev/null || true wait=0 |