Daniel Gibbs преди 10 години
родител
ревизия
621c3d7cde
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lgsm/functions/command_console.sh

+ 1 - 1
lgsm/functions/command_console.sh

@@ -38,7 +38,7 @@ else
 	fn_script_log_error "Failed to access: Server not running"
 	sleep 1
 	while true; do
-		read -p "Do you want to start the server? [y/N]" yn
+		read -e -i "y" -p  "Do you want to start the server? [Y/n]" yn
 		case $yn in
 		[Yy]* ) exitbypass=1; command_start.sh; break;;
 		[Nn]* ) break;;