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,10 +719,10 @@ show_tools_commands() {
# ===============================================================
# Main Menu
# Help and Info Menu
# ===============================================================
while true; do
OPTION=$(dialog --stdout \
OPTION=$(dialog --stdout \
--title "$(translate 'Help and Info')" \
--menu "\n$(translate 'Select a category of useful commands:')" 20 70 9 \
1 "$(translate 'Useful System Commands')" \
@ -736,10 +736,11 @@ OPTION=$(dialog --stdout \
9 "$(translate 'System CLI Tools')" \
0 "$(translate 'Exit')")
EXIT_STATUS=$?
if [[ -z "$OPTION" ]]; then
clear
break
if [[ $EXIT_STATUS -ne 0 ]]; then
continue
fi
case $OPTION in
@ -760,3 +761,4 @@ OPTION=$(dialog --stdout \
esac
done