Daniel Gibbs 10 лет назад
Родитель
Сommit
999ba07fa1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/check_status.sh

+ 1 - 1
lgsm/functions/check_status.sh

@@ -10,7 +10,7 @@ if [ "${gamename}" == "Teamspeak 3" ]; then
 	# 1: Server is running
 	# 1: Server is running
 	# 0: Server seems to have died
 	# 0: Server seems to have died
 	# 0: No server running (ts3server.pid is missing)
 	# 0: No server running (ts3server.pid is missing)
-	status=$(./ts3server_startscript.sh status servercfgfullpathfile=${servercfgfullpath})
+	status=$(${executabledir}/ts3server_startscript.sh status servercfgfullpathfile=${servercfgfullpath})
 	if [ "${status}" == "Server is running" ]; then
 	if [ "${status}" == "Server is running" ]; then
 		status=1
 		status=1
 	else
 	else