Fisxed bug related to verbose mode
All checks were successful
backup.sh / bash (push) Successful in 25s

This commit is contained in:
Marco Cetica 2024-11-04 08:59:32 +01:00
parent c227a2f6d7
commit 373814bb47
Signed by: marco
GPG Key ID: 45060A949E90D0FD
3 changed files with 3 additions and 1 deletions

View File

@ -206,7 +206,9 @@ extract_backup() {
printf "[FATAL] - integrity error for '%s'.\n" "$file"
exit 1
fi
if [ "$BACKUP_SH_VERBOSE" -eq 1 ]; then
printf "[OK] - integrity check for '%s' passed.\n" "$file"
fi
done
shopt -u globstar dotglob
fi

Binary file not shown.

Binary file not shown.