Update main_menu.sh

This commit is contained in:
MacRimi 2025-01-29 21:04:30 +01:00 committed by GitHub
parent 7f3a90dbbb
commit 273714db11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,11 +38,12 @@ fi
case $OPTION in
1) bash <(curl -s "$REPO_URL/menu-almacenamiento.sh") ;;
2) bash <(curl -s "$REPO_URL/scripts/menus/storage_menu.sh") ;;
3) bash <(curl -s "$REPO_URL/menu-network.sh") ;;
1) exec bash <(curl -s "$REPO_URL/menu-almacenamiento.sh") ;; # Evita el subshell
2) exec bash <(curl -s "$REPO_URL/scripts/menus/storage_menu.sh") ;; # Evita el subshell
3) exec bash <(curl -s "$REPO_URL/menu-network.sh") ;; # Evita el subshell
4) clear; exit 0 ;;
5) clear; msg_ok "$(translate "Thank you for using ProxMenu. Goodbye!")"; exit 0 ;;
*) msg_error "Opción inválida"; sleep 2 ;;
esac
done