release 22.07.1 #160

Merged
jlecour merged 21 commits from unstable into stable 2022-07-28 13:51:58 +02:00
Showing only changes of commit fa5eb5aa5c - Show all commits

View file

@ -742,7 +742,7 @@ check_backupuptodate() {
backup_dir="/home/backup"
if [ -d "${backup_dir}" ]; then
if [ -n "$(ls -A ${backup_dir})" ]; then
find "${backup_dir}" -type f -maxdepth 1 | while read -r file; do
find "${backup_dir}" -maxdepth 1 -type f | while read -r file; do
limit=$(date +"%s" -d "now - 2 day")
updated_at=$(stat -c "%Y" "$file")