From 9661209194d31ed059fb9d3edcbb06c05ca0e09a Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Wed, 3 Oct 2018 15:36:18 -0600 Subject: [PATCH] Set default value for sqlDetails --- backup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index 867cc92..2f61efd 100755 --- a/backup.sh +++ b/backup.sh @@ -131,6 +131,9 @@ logFile="$scriptPath/${scriptName%.*}.log" err503Path="$scriptPath/503.html" err503File="${err503Path##*/}" +# set default sqlDetails path to scriptPath +sqlDetails="$scriptPath/nc_sql.details" + # set borg parameters to 'normal' verbosity borgCreateParams='--stats' borgPruneParams='--list' @@ -143,7 +146,6 @@ unset webroot unset ncRoot unset webUser unset clean503 -unset sqlDetails errorExplain=() exitWarn=() warningExplain=()