forked from ungleich-public/cdist
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:
parent
287996c4a6
commit
d53accd57f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ if grep -q "^${name}:" "$__object/explorer/group"; then
|
|||
for property in $(ls .); do
|
||||
new_value="$(cat "$property")"
|
||||
|
||||
case "$key" in
|
||||
case "$property" in
|
||||
password)
|
||||
current_value="$(awk -F: '{ print $2 }' < "$__object/explorer/gshadow")"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue