summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Propellor/Property/File.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/File.hs b/src/Propellor/Property/File.hs
index f57480a3..9f73b14a 100644
--- a/src/Propellor/Property/File.hs
+++ b/src/Propellor/Property/File.hs
@@ -46,7 +46,7 @@ f `containsBlock` ls =
| otherwise = content ++ ls
remove [] = []
remove content@(x:xs)
- | ls `isPrefixOf` content = x : remove (drop (length ls) xs)
+ | ls `isPrefixOf` content = remove (drop (length ls) content)
| otherwise = x : remove xs
-- | Ensures that a line is not present in a file.