Set default value for sqlDetails

This commit is contained in:
Asif Bacchus 2018-10-03 15:36:18 -06:00
parent b3e9b4a0da
commit 9661209194

View File

@ -131,6 +131,9 @@ logFile="$scriptPath/${scriptName%.*}.log"
err503Path="$scriptPath/503.html" err503Path="$scriptPath/503.html"
err503File="${err503Path##*/}" err503File="${err503Path##*/}"
# set default sqlDetails path to scriptPath
sqlDetails="$scriptPath/nc_sql.details"
# set borg parameters to 'normal' verbosity # set borg parameters to 'normal' verbosity
borgCreateParams='--stats' borgCreateParams='--stats'
borgPruneParams='--list' borgPruneParams='--list'
@ -143,7 +146,6 @@ unset webroot
unset ncRoot unset ncRoot
unset webUser unset webUser
unset clean503 unset clean503
unset sqlDetails
errorExplain=() errorExplain=()
exitWarn=() exitWarn=()
warningExplain=() warningExplain=()