Set exit on error.