2010-08-27 18:15:31 -07:00

15 lines
206 B
Bash
Executable File

#!/bin/bash
#run.sh runs the agent client.
# set -x
while true
do
./run.sh "$@"
ex=$?
if [ $ex -eq 0 ] || [ $ex -eq 1 ] || [ $ex -eq 66 ] || [ $ex -gt 128 ]; then
exit $ex
fi
sleep 20
done