From 3f867d3eba0ffe9048eefa40ac68de7d81e05d88 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 12 Oct 2020 07:16:00 +0200 Subject: [PATCH] Bash error handling --- arch-setup/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index f747b120..448137f9 100644 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -euo pipefail + #change to home (does not show in terminal) cd "$HOME" || exit