fi
if [[ $result -eq 0 ]]
then
- GCM_LOG=`cat gcm_input.log`
- echo $GCM_LOG
- if [[ $GCM_LOG != "Can not determine the hostname where the message came from." ]]
+ result=2
+ if grep "Can not determine the hostname where the message came from." gcm_input.log
then
- result=2
+ result=0
fi
fi
psql gnucomo_test -f ../src/database/destroy.sql -q