3.4 de_DE

Can't get service script to work

I setup a script based service to check the status of a mysql server via SSH. The script itself properly echos 1 if the string "uptime" is found and 0 if it is not. Yet, Simon insists that the result is 0, even if the output window shows a 1. I tried it with both a bash and a php version of the script, but the error persists. I'm on 10.7.5. Script is attached.

Syndicate content