diff --git a/lgsm/functions/check_logs.sh b/lgsm/functions/check_logs.sh index d4fec4b1a..bc4f13bdf 100644 --- a/lgsm/functions/check_logs.sh +++ b/lgsm/functions/check_logs.sh @@ -20,7 +20,7 @@ if [ ! -d "${scriptlogdir}" ]||[ ! -d "${consolelogdir}" ]&&[ "${gamename}" != " fn_check_logs fi -# Create gamelogdir if variable exist but dir doesn't exist +# Create gamelogdir if variable exist but dir does not exist if [ -n "${gamelogdir}" ]&&[ ! -d "${gamelogdir}" ]; then fn_check_logs fi