forked from ungleich-public/cdist
Merge pull request #410 from ckruse/master
fix: don't overwrite ownergroup but append
This commit is contained in:
commit
df4d14ff61
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ if [ -f "$__object/parameter/owner" ]; then
|
||||||
ownergroup=$(cat "$__object/parameter/owner")
|
ownergroup=$(cat "$__object/parameter/owner")
|
||||||
fi
|
fi
|
||||||
if [ -f "$__object/parameter/group" ]; then
|
if [ -f "$__object/parameter/group" ]; then
|
||||||
ownergroup=":$(cat "$__object/parameter/group")"
|
ownergroup="${ownergroup}:$(cat "$__object/parameter/group")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$ownergroup" ]; then
|
if [ "$ownergroup" ]; then
|
||||||
|
|
Loading…
Reference in a new issue