diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Partition.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Partition.hs b/src/Propellor/Property/Partition.hs index 2bf5b927..756e2b6b 100644 --- a/src/Propellor/Property/Partition.hs +++ b/src/Propellor/Property/Partition.hs @@ -58,7 +58,7 @@ isLoopDev l = isLoopDev' (partitionLoopDev l) <&&> isLoopDev' (wholeDiskLoopDev isLoopDev' :: FilePath -> IO Bool isLoopDev' f | "loop" `isInfixOf` f = catchBoolIO $ - isBlockDevice <$> getFileStatus f + isBlockDevice <$> getSymbolicLinkStatus f | otherwise = return False -- | Uses the kpartx utility to create device maps for partitions contained |
