Fixed exit code printing