Do not delete failed backups because it might still contain valuable info

This commit is contained in:
Nicolas Chan 2021-03-06 15:14:16 -08:00
parent 1d24a58899
commit ccaf734df2

View file

@ -405,7 +405,6 @@ clean-up () {
delete-old-backups
exit 0
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"
exit 1
fi