kill the tail process

This commit is contained in:
Girish Ramakrishnan 2015-11-19 15:10:05 -08:00
parent d45ffad94f
commit f62da202ae
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,7 @@ test_logs+=("logs/cloudron-update-test.log")
# stream all the logs (to stderr so that it's not in email but in deploy logs)
tail -f ${test_logs[*]} >&2 &
tail_pid=$!
# wait for tests to finish
fail=0
@ -38,6 +39,8 @@ for pid in "${test_pids[@]}"; do
wait $pid || let "fail+=1"
done
kill -9 "${tail_pid}"
echo
echo
for t in "${tests[@]}"; do