From ccaf734df2ec031612bced1ee3ba087c27f6fddf Mon Sep 17 00:00:00 2001 From: Nicolas Chan Date: Sat, 6 Mar 2021 15:14:16 -0800 Subject: [PATCH] Do not delete failed backups because it might still contain valuable info --- backup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/backup.sh b/backup.sh index 8d78d56..966f2dd 100755 --- a/backup.sh +++ b/backup.sh @@ -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