summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
authorDaniel Brooks2016-11-10 12:25:57 -0800
committerDaniel Brooks2016-11-10 12:25:57 -0800
commitba7ecada73598674d3d2f411fe7fea05fc7843f8 (patch)
tree058acf69bbd62f96345dbeee7516b3fce8ba470c /src/Propellor/Property
parent2cae0fdb9e12b5a2e247c1f10017746d59c03721 (diff)
concinnity
Diffstat (limited to 'src/Propellor/Property')
-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 30a9c665..b171933a 100644
--- a/src/Propellor/Property/Group.hs
+++ b/src/Propellor/Property/Group.hs
@@ -14,4 +14,4 @@ exists (Group group') mgid = check test (cmdProperty "addgroup" (args mgid))
args (Just gid) = ["--gid", show gid, group']
hasUser :: Group -> User -> Property DebianLike
-hasUser (Group group') (User user) = hasGroup user group'
+hasUser = flip hasGroup