diff --git a/lgsm/functions/install_logs.sh b/lgsm/functions/install_logs.sh index 0c3e69a4a..3f6020e45 100644 --- a/lgsm/functions/install_logs.sh +++ b/lgsm/functions/install_logs.sh @@ -42,7 +42,7 @@ fi # If a server is unreal2 or unity3d create a dir. if [ "${engine}" == "unreal2" ]||[ "${engine}" == "unity3d" ]||[ "${gamename}" == "Teeworlds" ]||[ "${gamename}" == "seriousengine35" ]; then - if [ ! -d ${gamelogdir}" ]; then + if [ ! -d "${gamelogdir}" ]; then mkdir -pv "${gamelogdir}" fi fi