Browse Source

fix wrong variable name

max.mehl 2 months ago
parent
commit
3e1b38188b
No account linked to committer's email address
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      ssh-checker.sh
  2. 1
    1
      uberspace-backup.sh

+ 1
- 1
ssh-checker.sh View File

@@ -16,7 +16,7 @@ source "$CURDIR"/config.cfg
16 16
 if [ ! -e "${HOSTS}" ]; then echo "Missing hosts file. Please set a correct value of HOSTS= in your config file. Current value: ${HOSTS}"; exit 1; fi
17 17
 
18 18
 if [ ! -z "${SSH_KEY}" ]; then
19
-  SSH_KEY_ARG="-i ${SSHKEY}"
19
+  SSH_KEY_ARG="-i ${SSH_KEY}"
20 20
 else
21 21
   # defaults
22 22
   SSH_KEY_ARG=""

+ 1
- 1
uberspace-backup.sh View File

@@ -16,7 +16,7 @@ source "$CURDIR"/config.cfg
16 16
 if [ ! -e "${HOSTS}" ]; then echo "Missing hosts file. Please set a correct value of HOSTS= in your config file. Current value: ${HOSTS}"; exit 1; fi
17 17
 
18 18
 if [ ! -z "${SSH_KEY}" ]; then
19
-  SSH_KEY_ARG="-i ${SSHKEY}"
19
+  SSH_KEY_ARG="-i ${SSH_KEY}"
20 20
 else
21 21
   # defaults
22 22
   SSH_KEY_ARG=""

Loading…
Cancel
Save