utils.sh: Exit with 1 status code on error