mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
fixed exit codes
This commit is contained in:
+6
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user