From 2b5f8a088750838ccd2dff64d0d2cf35dc811e37 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Fri, 5 Feb 2021 01:11:16 -0700 Subject: [PATCH] fix(BACKUP): initialize sqlDumpDirCreated - initialize sqlDumpDirCreated to avoid 'unary operator expected' error Closes 7 --- backup/backup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/backup/backup.sh b/backup/backup.sh index 8d77bb3..1ec685a 100755 --- a/backup/backup.sh +++ b/backup/backup.sh @@ -251,6 +251,7 @@ logFile="$scriptPath/${scriptName%.*}.log" warnCount=0 configDetails="$scriptPath/${scriptName%.*}.details" err503Copied=0 +sqlDumpDirCreated=0 exclusions=0 # borg output verbosity -- normal borgCreateParams='--stats'