Exits with exit_status (1) if error found