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

This commit is contained in:
Marco Cetica 2024-11-04 08:59:32 +01:00
parent c227a2f6d7
commit 8dd1067e1b
Signed by: marco
GPG Key ID: 45060A949E90D0FD

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