Bob Mottram 7 years ago
parent
commit
52ca718a4b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-backup-remote

+ 1
- 1
src/freedombone-backup-remote View File

@@ -59,7 +59,7 @@ SERVER_DIRECTORY=/root/remotebackup
59 59
 GO_VERSION=$(grep 'GO_VERSION=' "/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-go" | head -n 1 | awk -F '=' '{print $2}')
60 60
 
61 61
 ADMIN_USERNAME=$(get_completion_param "Admin user")
62
-ADMIN_NAME=$(getent passwd $ADMIN_USERNAME | cut -d: -f5 | cut -d, -f1)
62
+ADMIN_NAME=$(getent passwd "$ADMIN_USERNAME" | cut -d: -f5 | cut -d, -f1)
63 63
 ADMIN_EMAIL_ADDRESS=${ADMIN_USERNAME}@${HOSTNAME}
64 64
 if [ ! -f /etc/ssl/private/backup.key ]; then
65 65
     echo $"Creating backup key"