summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Parted.hs
diff options
context:
space:
mode:
authorJoey Hess2015-10-22 16:23:24 -0400
committerJoey Hess2015-10-22 16:23:24 -0400
commit6399d6d2722320346877071866414e450701fbf9 (patch)
treea7874c1402142abef5b08799adf284ba0035b683 /src/Propellor/Property/Parted.hs
parentd18f1e9e49eff5ca8d43845e2b9ce6483d219ffc (diff)
propellor spin
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"