.
backup.sh / bash (push) Successful in 11s
Details
backup.sh / bash (push) Successful in 11s
Details
This commit is contained in:
parent
e881798dad
commit
d67c2efd86
|
@ -179,6 +179,8 @@ extract_backup() {
|
|||
SHA256="$(gethash "$file")"
|
||||
# Check if checksum file contains hash
|
||||
if ! grep -wq "$SHA256" "$BACKUP_SH_SHA256_FILE"; then
|
||||
gethash "$file"
|
||||
cat "$BACKUP_SH_SHA256_FILE"
|
||||
printf "[FATAL] - integrity error for '%s'.\n" "$file"
|
||||
rm -rf backup.sh.tar.gz backup.sh.tmp
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue