users: use lib.escapeShellArg for group description
This commit is contained in:
parent
ea7e178ad4
commit
ac7932f9de
2 changed files with 2 additions and 2 deletions
|
|
@ -114,7 +114,7 @@ in
|
|||
if [ -z "$g" ]; then
|
||||
echo "creating group ${v.name}..." >&2
|
||||
dscl . -create ${dsclGroup} PrimaryGroupID ${toString v.gid}
|
||||
dscl . -create ${dsclGroup} RealName '${v.description}'
|
||||
dscl . -create ${dsclGroup} RealName ${lib.escapeShellArg v.description}
|
||||
g=${toString v.gid}
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue