|
|
@@ -191,8 +191,8 @@ fn_stop_teamspeak3(){
|
|
|
# checks if the server is already stopped before trying to stop.
|
|
|
fn_stop_pre_check(){
|
|
|
if [ "${gamename}" == "Teamspeak 3" ]; then
|
|
|
- info_ts3status.sh
|
|
|
- if [ "${ts3status}" = "No server running (ts3server.pid is missing)" ]; then
|
|
|
+ check_status.sh
|
|
|
+ if [ "${status}" == "0" ]; then
|
|
|
fn_print_ok_nl "${servername} is already stopped"
|
|
|
fn_scriptlog "${servername} is already stopped"
|
|
|
else
|