Exit 1 on error.