From 515e57e4f3a52bd4723fa847a23cd9b4bd87d822 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 26 Mar 2020 03:46:48 -0600 Subject: [PATCH] change no borg repo passwd identifier --- borghelper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/borghelper.sh b/borghelper.sh index 9a61e01..6aebea0 100755 --- a/borghelper.sh +++ b/borghelper.sh @@ -185,10 +185,10 @@ export BORG_REPO="${borgRepo}" # check borg repo password if [ -n "${borgRepoPassword}" ]; then export BORG_PASSPHRASE="${borgRepoPassword}" -elif [ "${borgRepoPassword}" = '' ]; then +elif [ "${borgRepoPassword}" = 'none' ]; then export BORG_PASSPHRASE="" else - consoleError 2 "$varsFile: 'borgRepoPassword' must be specified or must be '' if no password has been set (VERY INSECURE!)." + consoleError 2 "$varsFile: 'borgRepoPassword' must be specified or must be 'none' if no password has been set (VERY INSECURE!)." fi # export borg remote path, if specified