From 59cc9a5d66697bfab6be9c5aede217101de11cc7 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Mon, 8 Feb 2021 10:39:35 -0700 Subject: [PATCH] fix(RESTORE): increment errorCount on SQL import error --- backup/restore.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/backup/restore.sh b/backup/restore.sh index 17d7cd4..02bb6c7 100644 --- a/backup/restore.sh +++ b/backup/restore.sh @@ -342,6 +342,7 @@ if [ "$restoreSQL" -eq 1 ]; then else writeLog 'done' 'error' writeLog 'error' '13' "Something went wrong while trying to restore SQL database. Perhaps try again?" + errorCount=$((errorCount+1)) fi fi fi