Subject: [cdist] [BUG] fix for conf/type/__group/gencode-remote

I noticed $current_value was not getting set correctly in
__group/gencode-remote and tracked it down to this trivial fix
(applies to current master).  I'm unfortunately not comfortable enough
with git yet to submit it that way... hopefully this is an appropriate
way to submit:

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Matt Coddington 2012-01-20 18:02:28 +01:00 committed by Nico Schottelius
parent 287996c4a6
commit d53accd57f

View file

@ -29,7 +29,7 @@ if grep -q "^${name}:" "$__object/explorer/group"; then
for property in $(ls .); do for property in $(ls .); do
new_value="$(cat "$property")" new_value="$(cat "$property")"
case "$key" in case "$property" in
password) password)
current_value="$(awk -F: '{ print $2 }' < "$__object/explorer/gshadow")" current_value="$(awk -F: '{ print $2 }' < "$__object/explorer/gshadow")"
;; ;;