Browse Source

Fixed issue #313

pull/349/head
Daniel Gibbs 10 years ago
parent
commit
1037608c97
  1. 4
      functions/fn_logs

4
functions/fn_logs

@ -36,9 +36,13 @@ if [ $(find "${scriptlogdir}"/* -mtime +${logdays}|wc -l) -ne "0" ]; then
gamecount=$(find "${scriptlogdir}"/* -mtime +${logdays}|wc -l)
fi
scriptcount=$(find "${scriptlogdir}"/* -mtime +${logdays}|wc -l)
echo "${consolelog}"
if [ -n "${consolelog}" ]; then
consolecount=$(find "${consolelogdir}"/* -mtime +${logdays}|wc -l)
else
consolecount=0
fi
count=$((${scriptcount} + ${consolecount}))
if [ "${engine}" == "unreal2" ]; then
count=$((${scriptcount} + ${consolecount} + ${gamecount}))

Loading…
Cancel
Save