Have a script that I run against a solaris box, that script will get back a 0/1 based on the status of a process. The problem I have is if SSH goes south for some reason the monitor will generate:

How do i get the test to fail with FAILED vs "UNKNOWN"