mirror of
https://github.com/alexanderepstein/Bash-Snippets
synced 2018-11-08 02:59:35 +01:00
Changing exit code for update failure
This commit is contained in:
parent
c60ba9a1f2
commit
a5326c1f0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user