fixed exit codes

This commit is contained in:
tangobravo14
2024-03-07 14:42:08 +00:00
parent 948643de90
commit 681ca21cd1
4 changed files with 27 additions and 5 deletions
+6 -1
View File
@@ -56,7 +56,12 @@ date, click continue." | yad \
--button="Continue:0" \
--title "Ensure your scripts are up to date." \
${r} ${c}
rc=$?
if [[ $rc == 0 ]]; then
echo "Continuing with current version"
elif [[ $rc == 1 ]]; then
exit 1
fi
}
function dep_check() {