diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-09-05 16:31:31 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-09-05 16:31:31 -0400 |
| commit | 0a6ad2b17419fd877789053c87b95866cfc39c46 (patch) | |
| tree | c645cb092a645b7155c8b11e6735966a433d8b23 /src | |
| parent | d9866a1ba5d0a4adca8bd026c652b762302bba45 (diff) | |
remove apparently unncessary newline stripping
blkidTag splits into lines and returns the first (non-empty) line,
so as far as I can see, there can't possibly be a newline in what it
returns.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Lvm.hs | 2 |
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 |
