Pārlūkot izejas kodu

& != teamspeak3

Daniel Gibbs 10 gadi atpakaļ
vecāks
revīzija
b0628fa30c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lgsm/functions/check_logs.sh

+ 1 - 1
lgsm/functions/check_logs.sh

@@ -8,7 +8,7 @@ local modulename="Checking"
 local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 
 # Create dir's for the script and console logs
-if [ ! -d "${scriptlogdir}" ]||[ ! -d "${consolelogdir}" ]; then
+if [ ! -d "${scriptlogdir}" ]||[ ! -d "${consolelogdir}" ]&&[ "${gamename}" != "Teamspeak 3" ]; then
 	fn_print_dots "Checking for log files"
 	sleep 1
 	fn_print_info_nl "Checking for log files: Creating log files"