Make exit code invalid on auto code generation