Fix ExitCode for failures. Now returns non-zero.