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