Use proper exit code