Return an error exit code if no exit code is provided by the command.

This commit is contained in:
Chris Eppstein 2011-11-06 17:59:11 -08:00
parent 9888efdbc2
commit 720cc891ae

View File

@ -36,5 +36,9 @@ if ARGV.delete("--profile")
printer.print(STDERR, 0) printer.print(STDERR, 0)
exit exit_code exit exit_code
else else
exit runner.call if exit_code = runner.call
exit exit_code
else
exit 1
end
end end