Return an appropriate exit code if "ao abc" does not find the word