diff --git a/lgsm/functions/command_start.sh b/lgsm/functions/command_start.sh index b3cf88255..26dec454e 100644 --- a/lgsm/functions/command_start.sh +++ b/lgsm/functions/command_start.sh @@ -68,7 +68,9 @@ fn_start_tmux(){ if [ "${status}" == "0" ]; then fn_scriptlog "Rotating log files" if [ "${engine}" == "unreal2" ]; then - mv "${gamelog}" "${gamelogdate}" + if [ -f "${gamelog}" ]; then + mv "${gamelog}" "${gamelogdate}" + fi fi mv "${scriptlog}" "${scriptlogdate}" mv "${consolelog}" "${consolelogdate}"