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