Use the intermediate output text when judging the fence status, rather than the retcode of the stop as this should be more reliable.
Use the intermediate output text when judging the fence status, rather than the retcode of the stop as this should be more reliable.