From 2d466f47cb6ab67f92b9a950ae66f5d7c62f6e4d Mon Sep 17 00:00:00 2001 From: everest Date: Thu, 10 Mar 2022 17:19:01 +0000 Subject: [PATCH] Update glacier-install.sh --- glacier-install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/glacier-install.sh b/glacier-install.sh index 91cb8e5..dee6965 100644 --- a/glacier-install.sh +++ b/glacier-install.sh @@ -23,4 +23,8 @@ rm INSTALL.sh rm UPDATE.sh rm REMOVE.sh # Cleans up installation files rm LICENSE.md -echo "[ i ] Finished installation of $input." || echo "[ X ] Installation of $input failed." # Indicates success || Indicates failure +echo "[ i ] Finished installation of $input." +if [ "$?" != "0" ]; then + echo "[ X ] Installation of $input failed." 1>&2 + exit 1 +fi