diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-25 15:40:00 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-25 15:40:00 -0400 |
| commit | 1d8e08f2ac5a1d996e7aab1df0c6c7ff5631210f (patch) | |
| tree | 0a484411a8373fd192975178fb6d04cc7ff3c4a0 /src/Propellor | |
| parent | cd51024070ecd6515976dca7b24534b505c62cad (diff) | |
| parent | 7d0f79a0c7656a0dd68235c93e2f770b0b1b6ea3 (diff) | |
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor')
| -rw-r--r-- | src/Propellor/Property/Group.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Group.hs b/src/Propellor/Property/Group.hs index f03510cf..978d3bff 100644 --- a/src/Propellor/Property/Group.hs +++ b/src/Propellor/Property/Group.hs @@ -9,6 +9,6 @@ exists group' mgid = check test (cmdProperty "addgroup" $ args mgid) `describe` unwords ["group", group'] where groupFile = "/etc/group" - test = not <$> elem group' <$> words <$> readProcess "cut" ["-d:", "-f1", groupFile] + test = not . elem group' . words <$> readProcess "cut" ["-d:", "-f1", groupFile] args Nothing = [group'] args (Just gid) = ["--gid", show gid, group'] |
