Update build.func

This commit is contained in:
CanbiZ 2025-07-15 09:03:41 +02:00
parent fd1095c6c5
commit 5b12a136f1

View File

@ -988,7 +988,7 @@ install_script() {
"7" "Exit" \ "7" "Exit" \
--default-item "1" 3>&1 1>&2 2>&3) --default-item "1" 3>&1 1>&2 2>&3)
if [ $? -ne 0 ]; then if [ $? -ne 0 ] || [ -z "$CHOICE" ]; then
echo -e "${CROSS}${RD}Menu canceled. Exiting.${CL}" echo -e "${CROSS}${RD}Menu canceled. Exiting.${CL}"
exit 0 exit 0
fi fi