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