summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2014-11-25 15:40:00 -0400
committerJoey Hess2014-11-25 15:40:00 -0400
commit1d8e08f2ac5a1d996e7aab1df0c6c7ff5631210f (patch)
tree0a484411a8373fd192975178fb6d04cc7ff3c4a0
parentcd51024070ecd6515976dca7b24534b505c62cad (diff)
parent7d0f79a0c7656a0dd68235c93e2f770b0b1b6ea3 (diff)
Merge branch 'joeyconfig'
-rw-r--r--src/Propellor/Property/Group.hs2
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']