From a5326c1f0a58093d2925b7e24372cb4304bcfe80 Mon Sep 17 00:00:00 2001 From: Alex Epstein Date: Tue, 1 Aug 2017 23:52:28 -0400 Subject: [PATCH] Changing exit code for update failure --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 85e2dfc..3409869 100755 --- a/install.sh +++ b/install.sh @@ -107,7 +107,7 @@ elif [[ $1 == "update" ]]; then copyManpage || exit 1 else echo "It appears you have installed bash-snippets through a package manager, you must update it with the respective package manager." - exit 0 + exit 1 fi elif [[ $1 == "all" ]]; then for tool in "${tools[@]}"; do