Changing exit code for update failure

This commit is contained in:
Alex Epstein 2017-08-01 23:52:28 -04:00
parent c60ba9a1f2
commit a5326c1f0a
1 changed files with 1 additions and 1 deletions

View File

@ -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