Correctly pass exit code.