not an error when wait fails

This commit is contained in:
Andy2 2011-09-30 06:51:48 -07:00
parent 2af4888098
commit 9bc36cd431

View file

@ -44,8 +44,7 @@ while :; do
../relay/rq -f $RELAYID -b $NBS
sleep 2
kill $PID1 || true
wait $PID1
kill $PID1 && wait $PID1 || true
else
echo "$MSG_COUNT messages for $RELAYID"
fi