Update help_info_menu.sh

This commit is contained in:
MacRimi 2025-05-04 23:53:55 +02:00
parent e8c60e887a
commit 6f1a8a06ad

View File

@ -719,7 +719,7 @@ show_tools_commands() {
# =============================================================== # ===============================================================
# Main Menu # Help and Info Menu
# =============================================================== # ===============================================================
while true; do while true; do
OPTION=$(dialog --stdout \ OPTION=$(dialog --stdout \
@ -736,10 +736,11 @@ OPTION=$(dialog --stdout \
9 "$(translate 'System CLI Tools')" \ 9 "$(translate 'System CLI Tools')" \
0 "$(translate 'Exit')") 0 "$(translate 'Exit')")
EXIT_STATUS=$?
if [[ -z "$OPTION" ]]; then if [[ $EXIT_STATUS -ne 0 ]]; then
clear
break continue
fi fi
case $OPTION in case $OPTION in
@ -760,3 +761,4 @@ OPTION=$(dialog --stdout \
esac esac
done done