PROGRAMS_EXIT_STATUS

This commit is contained in:
2024-06-04 09:44:51 +02:00
parent 2919b84435
commit 8ca8c599b9

View File

@@ -147,6 +147,13 @@ PROGRAMS=$(whiptail --title "The Install selection" --checklist --separate-outpu
# See the actual installation below - Install selection choose what to install End
PROGRAMS_EXIT_STATUS=$?
if [ $PROGRAMS_EXIT_STATUS != 0 ]; then
echo -e "${RED} Cancel - You have now stopped the installation. ${NC}"
exit 1
fi
clear
echo -e "${RED} "