From f57ce648a382171a145d11d98411f40ce5e1c587 Mon Sep 17 00:00:00 2001 From: Dennis Camera Date: Wed, 2 Oct 2019 15:38:38 +0200 Subject: [PATCH] [__ssh_authorized_keys] Fix incorrectly escaped variable --- cdist/conf/type/__ssh_authorized_keys/explorer/group | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdist/conf/type/__ssh_authorized_keys/explorer/group b/cdist/conf/type/__ssh_authorized_keys/explorer/group index 1bd14840..d259050f 100755 --- a/cdist/conf/type/__ssh_authorized_keys/explorer/group +++ b/cdist/conf/type/__ssh_authorized_keys/explorer/group @@ -35,10 +35,10 @@ else case $owner in [0-9][0-9]*) - gid=$(awk -F: "\$3 == \"${owner}\" { print $4 }" /etc/passwd) + gid=$(awk -F: "\$3 == \"${owner}\" { print \$4 }" /etc/passwd) ;; *) - gid=$(awk -F: "\$1 == \"${owner}\" { print $4 }" /etc/passwd) + gid=$(awk -F: "\$1 == \"${owner}\" { print \$4 }" /etc/passwd) ;; esac