From 1fecbbd450b973018fc059ffc166e927698890cd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 21 Jul 2017 12:52:45 -0400 Subject: improve comment --- src/Propellor/Property/DiskImage.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Propellor/Property/DiskImage.hs b/src/Propellor/Property/DiskImage.hs index 9300b201..f8754f85 100644 --- a/src/Propellor/Property/DiskImage.hs +++ b/src/Propellor/Property/DiskImage.hs @@ -164,8 +164,8 @@ imageBuiltFrom img chrootdir tabletype final partspec = mkimg rmimg where desc = img ++ " built from " ++ chrootdir mkimg = property' desc $ \w -> do - -- unmount helper filesystems such as proc from the chroot - -- before getting sizes + -- Unmount helper filesystems such as proc from the chroot + -- first; don't want to include the contents of those. liftIO $ unmountBelow chrootdir szm <- M.mapKeys (toSysDir chrootdir) . M.map toPartSize <$> liftIO (dirSizes chrootdir) -- cgit v1.2.3