From 999ba07fa1fa31a3910987e2428b90911b1016ce Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 6 May 2016 18:13:01 +0100 Subject: [PATCH] Added execdir --- lgsm/functions/check_status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/check_status.sh b/lgsm/functions/check_status.sh index d0f88b080..dc9edc01a 100644 --- a/lgsm/functions/check_status.sh +++ b/lgsm/functions/check_status.sh @@ -10,7 +10,7 @@ if [ "${gamename}" == "Teamspeak 3" ]; then # 1: Server is running # 0: Server seems to have died # 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 status=1 else