diff --git a/src/freedombone-backup-remote b/src/freedombone-backup-remote index 213cafb8..948c40bf 100755 --- a/src/freedombone-backup-remote +++ b/src/freedombone-backup-remote @@ -59,7 +59,7 @@ SERVER_DIRECTORY=/root/remotebackup GO_VERSION=$(grep 'GO_VERSION=' "/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-go" | head -n 1 | awk -F '=' '{print $2}') ADMIN_USERNAME=$(get_completion_param "Admin user") -ADMIN_NAME=$(getent passwd $ADMIN_USERNAME | cut -d: -f5 | cut -d, -f1) +ADMIN_NAME=$(getent passwd "$ADMIN_USERNAME" | cut -d: -f5 | cut -d, -f1) ADMIN_EMAIL_ADDRESS=${ADMIN_USERNAME}@${HOSTNAME} if [ ! -f /etc/ssl/private/backup.key ]; then echo $"Creating backup key"