From ba7ecada73598674d3d2f411fe7fea05fc7843f8 Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Thu, 10 Nov 2016 12:25:57 -0800 Subject: concinnity --- src/Propellor/Property/Group.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Propellor/Property/Group.hs') 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 -- cgit v1.2.3