Do not delete failed backups because it might still contain valuable info
This commit is contained in:
parent
1d24a58899
commit
ccaf734df2
1 changed files with 0 additions and 1 deletions
|
@ -405,7 +405,6 @@ clean-up () {
|
||||||
delete-old-backups
|
delete-old-backups
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
rm "$ARCHIVE_PATH" # Delete failed backup so that we don't have corrupt backups taking up space
|
|
||||||
message-players-error "Backup was not saved!" "Please notify an administrator"
|
message-players-error "Backup was not saved!" "Please notify an administrator"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue