Exit on errors when install.sh is invoked via curl