Correct typo

This commit is contained in:
Mario Fetka
2023-01-22 10:40:43 +01:00
parent f7ccf496a8
commit fdc9025463
2 changed files with 3 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ if [ $ERROR_ENABLE = "true" ]; then
touch ${MYSTIC_DIR}/logs/errors.${TOMORROW}.log
ln -sf errors.${NOW}.log ${MYSTIC_DIR}/logs/errors.log
[ -f /${MYSTIC_DIR}/logs/errors.${YESTERDAY}.log ] && gzip -9 ${MYSTIC_DIR}/logs/errors.${YESTERDAY}.log
find ${MYSTIC_DIR}/logs/ -type f -mtime +${ERROR_KEEP} -name 'error.*' -exec rm {} \;
find ${MYSTIC_DIR}/logs/ -type f -mtime +${ERROR_KEEP} -name 'errors.*' -exec rm {} \;
fi
if [ $MRCCHAT_ENABLE = "true" ]; then