From a9dca963ad8fd88417fd6a302528b4721b75c07a Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Tue, 17 Aug 2021 21:26:02 -0400 Subject: [PATCH] changed variable to match rest of file --- restic.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restic.sh b/restic.sh index 197d91f..5768c3b 100644 --- a/restic.sh +++ b/restic.sh @@ -10,7 +10,7 @@ LATEST_RESTIC_VERSION="0.12.1" export RESTIC_REPOSITORY="sftp://root@gauntnas.home.johnhgaunt.com:50022//mnt/restic" export RESTIC_PASSWORD="restic" -case $1 in +case ${1} in "GauntBitwarden") BACKUP_DIRS="/etc /opt/bitwarden /var/spool/cron" @@ -22,7 +22,7 @@ case $1 in ;; *) - echo "Error: Hostname, $1, didn't match any known matches." + echo "Error: Hostname, ${1}, didn't match any known matches." exit 1 ;; esac