From eed06949f2f411b0bd056e913059b24720bb44e5 Mon Sep 17 00:00:00 2001 From: Maximilian Haack Date: Sat, 8 Jun 2024 11:02:04 +0100 Subject: [PATCH] Exit on error --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 312cf06..5132a36 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,9 @@ # Be fancy source ~/.local/share/omakub/ascii.sh +# Exit immediately if a command exits with a non-zero status +set -e + # Needed for all installers sudo apt update -y sudo apt install -y curl git unzip