Browse Source

only tries to move file if exists

pull/820/merge
Daniel Gibbs 9 years ago
parent
commit
d5fc079b41
  1. 4
      lgsm/functions/command_start.sh

4
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}"

Loading…
Cancel
Save