I run the following script to test if a host is on-line and trigger a back up if it's alive. Something apparently changed with the script and it is giving me a "unary operator expected" error for line 17. Any ideas what is triggering it? if [ -f /etc/bacula/ping_check.txt ]; then FILEDATE=`cat /etc/bacula/ping_check.txt` else FILEDATE=0 fi if [ $NOWDATE -ne $FILEDATE ]; then if [[ $CMD_RET =~ ", 0% packet loss" ]] then echo "$HOST pinged ..." echo $NOWDATE > /etc/bacula/ping_check.txt # run backup script /etc/bacula/backup-host-1 else echo "$HOST did not ping ..." fi fi exit -- Raymond Norton LCTN 952.955.7766 Sent from My Desktop