users: use lib.escapeShellArgs instead of custom version
This commit is contained in:
parent
26f7e45fb1
commit
7bb6366f40
2 changed files with 2 additions and 3 deletions
|
|
@ -35,7 +35,7 @@
|
|||
grep -qv "dscl . -create '/Groups/deleted.group'" ${config.out}/activate
|
||||
|
||||
echo "checking group membership in /activate" >&2
|
||||
grep "dscl . -create '/Groups/foo' GroupMembership 'admin' 'foo'" ${config.out}/activate
|
||||
grep "dscl . -create '/Groups/foo' GroupMembership ${lib.escapeShellArgs [ "admin" "foo" ]}" ${config.out}/activate
|
||||
grep "dscl . -create '/Groups/created.group' GroupMembership" ${config.out}/activate
|
||||
|
||||
# checking unknown group in /activate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue