forked from ungleich-public/cdist
fix: don't overwrite ownergroup but append
This commit is contained in:
parent
b9280f1ea7
commit
d1d065a3e1
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