summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Propellor/Property/Lvm.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Lvm.hs b/src/Propellor/Property/Lvm.hs
index c5d215bc..d513c1be 100644
--- a/src/Propellor/Property/Lvm.hs
+++ b/src/Propellor/Property/Lvm.hs
@@ -142,7 +142,7 @@ lvState lv = do
then return Nothing
else do
s <- readLvSize
- fs <- maybe Nothing (Partition.parseFs . takeWhile (/= '\n')) <$> readFs
+ fs <- maybe Nothing Partition.parseFs <$> readFs
return $ do
size <- s
return $ LvState size fs