summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Group.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Group.hs')
-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