Daniel Gibbs il y a 10 ans
Parent
commit
aafc9d51fd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      functions/fn_install_serverdir

+ 1 - 1
functions/fn_install_serverdir

@@ -15,7 +15,7 @@ if [ -d "${filesdir}" ]; then
 fi
 fi
 if [ -z "${autoinstall}" ]; then	
 if [ -z "${autoinstall}" ]; then	
 	while true; do
 	while true; do
-		read -p "Continue [y/N]" yn
+		read -e -i "y" -p "Continue [y/N]" yn
 		case $yn in
 		case $yn in
 		[Yy]* ) break;;
 		[Yy]* ) break;;
 		[Nn]* ) exit;;
 		[Nn]* ) exit;;