From cf6af2c01f79b4f74e68f07505024b8026682576 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 14 Oct 2018 14:59:48 -0600 Subject: [PATCH] Corrected errors in var assignment to borg repo and passphrase env vars --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index 441599b..3daafaa 100755 --- a/backup.sh +++ b/backup.sh @@ -513,11 +513,11 @@ if [ -z "${borgConfig[2]}" ]; then cleanup quit else - export BORG_REPO="{borgConfig[2]}" + export BORG_REPO="${borgConfig[2]}" fi # repo password if [ -n "${borgConfig[3]}" ]; then - export BORG_PASSPHRASE="{borgConfig[3]}" + export BORG_PASSPHRASE="${borgConfig[3]}" else exitWarn+=('2111') # if the password was omitted by mistake, export a dummy password so borg