diff --git a/functions/self_update.sh b/functions/self_update.sh index a6ff8064..c38a46bc 100644 --- a/functions/self_update.sh +++ b/functions/self_update.sh @@ -20,6 +20,7 @@ if [[ "$hs_version" != "$latest_ver" ]] ; then echo "Updating To: $latest_ver" echo "Changelog:" curl --silent "https://api.github.com/repos/HeavyBullets8/heavy_script/releases/latest" | jq -r .body + echo [[ -z ${args[*]} ]] && echo -e "No more arguments, exiting..\n\n" && exit echo -e "Running the new version...\n\n" sleep 5