summaryrefslogtreecommitdiff
path: root/src/Propellor/Property.hs
diff options
context:
space:
mode:
authorJoey Hess2015-07-21 11:15:05 -0400
committerJoey Hess2015-07-21 11:15:05 -0400
commite4ecda210bd56cc0e233c3b635ac551d6ddce543 (patch)
tree9d4a092a590045841c75f4e7af2a33b19e699f67 /src/Propellor/Property.hs
parent7ff39bb09840c27b4bd04f692dff2e4d45c83924 (diff)
remove caution comment
I think this was inherited from flagFile, but the reasons to use caution when using flagFile (that it makes code to satisfy a property only run once) don't apply when using onChangeFlagOnFail.
Diffstat (limited to 'src/Propellor/Property.hs')
-rw-r--r--src/Propellor/Property.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Propellor/Property.hs b/src/Propellor/Property.hs
index 4da9acf3..339cb303 100644
--- a/src/Propellor/Property.hs
+++ b/src/Propellor/Property.hs
@@ -61,8 +61,6 @@ onChange = combineWith $ \p hook -> do
-- With `onChange`, if y fails, the property x `onChange` y returns
-- `FailedChange`. But if this property is applied again, it returns
-- `NoChange`. This behavior can cause trouble...
---
--- Use with caution.
onChangeFlagOnFail
:: (Combines (Property x) (Property y))
=> FilePath