Return instead of exit

This commit is contained in:
Thomas Forgione 2018-10-11 11:05:21 +02:00
parent 1367d29f05
commit d56e56c594
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ update() {
if [ $? -ne 0 ]; then
echo "Could not get sudo..."
exit 1
return 1
fi
echo "\033[32;1m=== Updating system ===\033[0m"