Browse Source

Merge pull request #762 from drantor/ts3-change-password

TS3 change password "No" answer is ignored
Daniel Gibbs 10 years ago
parent
commit
762ab35941
1 changed files with 2 additions and 2 deletions
  1. 2 2
      functions/command_ts3_server_pass.sh

+ 2 - 2
functions/command_ts3_server_pass.sh

@@ -24,7 +24,7 @@ while true; do
 	read -e -i "y" -p "Continue? [y/N]" yn
 	case $yn in
 	[Yy]* ) break;;
-	[Nn]* ) echo Exiting; return;;
+	[Nn]* ) echo Exiting; exit;;
 	* ) echo "Please answer yes or no.";;
 esac
 done
@@ -59,4 +59,4 @@ if [ "${ts3status}" == "Server is running" ]; then
 	command_start.sh
 else
 	fn_serveradmin_password_set
-fi
+fi