From 61a17c2b346e3f7197ff21c3c2fa20f653d362db Mon Sep 17 00:00:00 2001 From: Felix Beckmann Date: Thu, 17 Mar 2016 21:18:59 +0100 Subject: [PATCH] When we say exit we should exit --- functions/command_ts3_server_pass.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/command_ts3_server_pass.sh b/functions/command_ts3_server_pass.sh index 3cd0f0b1f..b8969a557 100644 --- a/functions/command_ts3_server_pass.sh +++ b/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 \ No newline at end of file +fi