From ebbd32387abc40a519623efa020df8eb332ffaa2 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 16 Feb 2016 22:27:24 +0000 Subject: [PATCH] fixes issues #646 --- functions/check_steamcmd.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions/check_steamcmd.sh b/functions/check_steamcmd.sh index a47081b8a..7bb6d8140 100644 --- a/functions/check_steamcmd.sh +++ b/functions/check_steamcmd.sh @@ -33,7 +33,9 @@ else steamcmddir="${rootdir}/steamcmd" if [ ! -f "${steamcmddir}/steamcmd.sh" ]; then fn_printwarnnl "SteamCMD is missing" - fn_scriptlog "SteamCMD is missing" + if [ -d "${scriptlogdir}" ]; then + fn_scriptlog "SteamCMD is missing" + fi sleep 1 if [ ! -d "${steamcmddir}" ]; then mkdir -v "${steamcmddir}"