checkfail let's you fail a program with an exit status of 1 if a trigger string appears in it's output.