summaryrefslogtreecommitdiff
path: root/Propellor/Property/User.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-18 03:59:06 -0400
committerJoey Hess2014-04-18 03:59:06 -0400
commit4e4fb9ab7ca13f5148c6d4b08f53f518429530a8 (patch)
treee44754f3e3a49d811d3387495ca24a475bd00162 /Propellor/Property/User.hs
parent66921ff667705e427c1000b7ae071f03fc0eb567 (diff)
get rid of AttrProperty
Now both Property and RevertableProperty can influence Attr on their own.
Diffstat (limited to 'Propellor/Property/User.hs')
-rw-r--r--Propellor/Property/User.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Propellor/Property/User.hs b/Propellor/Property/User.hs
index 8e7afd81..eef2a57e 100644
--- a/Propellor/Property/User.hs
+++ b/Propellor/Property/User.hs
@@ -29,7 +29,7 @@ hasSomePassword user = check ((/= HasPassword) <$> getPasswordStatus user) $
hasPassword user
hasPassword :: UserName -> Property
-hasPassword user = Property (user ++ " has password") $
+hasPassword user = property (user ++ " has password") $
withPrivData (Password user) $ \password -> makeChange $
withHandle StdinHandle createProcessSuccess
(proc "chpasswd" []) $ \h -> do