summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Parted.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Parted.hs')
-rw-r--r--src/Propellor/Property/Parted.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Parted.hs b/src/Propellor/Property/Parted.hs
index 7bd38a65..834b6c7d 100644
--- a/src/Propellor/Property/Parted.hs
+++ b/src/Propellor/Property/Parted.hs
@@ -160,7 +160,7 @@ partitioned eep disk (PartTable tabletype parts) = property desc $ do
[ parted eep disk partedparams
, if isdev
then formatl (map (\n -> disk ++ show n) [1 :: Int ..])
- else Partition.kpartx disk formatl
+ else Partition.kpartx disk (formatl . map Partition.partitionLoopDev)
]
where
desc = disk ++ " partitioned"