Explorar o código

added default option

Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
621c3d7cde
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;;