UltimateByte 9 년 전
부모
커밋
2b2ba030a6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      lgsm/functions/command_backup.sh

+ 1 - 0
lgsm/functions/command_backup.sh

@@ -139,6 +139,7 @@ fn_backup_clearing(){
 backupscount=$(find "${backupdir}/" -type f -name "*.tar.gz"|wc -l)
 # How many backups exceed maxbackups
 backupquotadiff=$((backupscount-maxbackups))
+# How many backups exceed maxbackupdays
 backupsoudatedcount=$(find "${backupdir}"/ -type f -name "*.tar.gz" -mtime +"${maxbackupdays}"|wc -l)
 # If backup variables are set
 if [ -n "${maxbackupdays}" ]&&[ -n "${maxbackups}" ]; then