@@ -60,5 +60,13 @@ # the person compiling the library. the first argument should be # an ansi format string; this is used to color-code the tool being # launched and thus should be different for each one. -report() { announce $@; $@; } +report() { + announce $@; $@; + status=$? + if test $status -ne 0; then + args=($@) + say "process ${args[0]} failed with status code $status" + exit $status + fi +}