summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Mount.hs
diff options
context:
space:
mode:
authorJoey Hess2015-10-23 11:51:14 -0400
committerJoey Hess2015-10-23 11:51:14 -0400
commita1183efbcb6a2a3f62027aa452c99ac3be17c6b8 (patch)
treeaa91f6ae22d34ae4fda073371c33454a2c918637 /src/Propellor/Property/Mount.hs
parent83a07d5c56223fe31d64a691c9775b5d237a9f3f (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property/Mount.hs')
-rw-r--r--src/Propellor/Property/Mount.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Mount.hs b/src/Propellor/Property/Mount.hs
index 2496b1cc..a08f9e3b 100644
--- a/src/Propellor/Property/Mount.hs
+++ b/src/Propellor/Property/Mount.hs
@@ -150,7 +150,7 @@ findmntField field mnt = catchDefaultIO Nothing $
blkidTag :: String -> Source -> IO (Maybe String)
blkidTag tag dev = catchDefaultIO Nothing $
headMaybe . filter (not . null) . lines
- <$> readProcess "blkid" [dev, "-s", tag]
+ <$> readProcess "blkid" [dev, "-s", tag, "-o", "value"]
-- | Unmounts a device or mountpoint,
-- lazily so any running processes don't block it.