Skip to content

Commit 866b752

Browse files
committed
feat: improve user input handling in Zabbix installation script
1 parent 65dc32c commit 866b752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/system/zabbix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ install_zabbix_server() {
193193
echo "No web server detected. Please choose:"
194194
echo " 1) Nginx (recommended, lightweight)"
195195
echo " 2) Apache (traditional)"
196-
read -p "Enter choice [1-2]: " choice
196+
read -r -p "Enter choice [1-2]: " choice
197197

198198
case "$choice" in
199199
1)

0 commit comments

Comments
 (0)