From 9df0a2e54524ff97c972303a201827c490bdf103 Mon Sep 17 00:00:00 2001 From: Jason Hollis <400979+CodeBleu@users.noreply.github.com> Date: Thu, 7 Dec 2023 12:08:43 -0500 Subject: [PATCH] fix: Better handling of errors with install script --- scripts/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index b7afeaefb..69a7a3eb0 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,6 +1,10 @@ #!/bin/bash ## Do not modify this file. You will lose the ability to install and auto-update! +set -e # Exit immediately if a command exits with a non-zero status +set -u # Treat unset variables as an error and exit +set -o pipefail # Cause a pipeline to return the status of the last command that exited with a non-zero status + VERSION="1.1.0" DOCKER_VERSION="24.0"