Fail shell tasks on errors