From 55f456593914d6a82c9b947c600b15c33daced56 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Fri, 16 Aug 2024 20:49:52 +0330 Subject: [PATCH] Fix read --- menu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu.sh b/menu.sh index a3cc5fc..b7d092f 100644 --- a/menu.sh +++ b/menu.sh @@ -267,7 +267,7 @@ telegram_bot_handler() { echo "The hysteria-bot.service is already active." else while true; do - read -p "Enter the Telegram bot token: " token + read -e -p "Enter the Telegram bot token: " token if [ -z "$token" ]; then echo "Token cannot be empty. Please try again." else @@ -276,7 +276,7 @@ telegram_bot_handler() { done while true; do - read -p "Enter the admin IDs (comma-separated): " admin_ids + read -e -p "Enter the admin IDs (comma-separated): " admin_ids if [ -z "$admin_ids" ]; then echo "Admin IDs cannot be empty. Please try again." else