summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Chroot/Util.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-10-25 11:48:50 -0400
committerJoey Hess <joeyh@joeyh.name>2017-10-25 11:48:50 -0400
commit628f239e0dab82cee2c1b9a1f2818695990df122 (patch)
treeb9260f539dcf6eb126a6e0476528364eb81ab600 /src/Propellor/Property/Chroot/Util.hs
parentc693c11b69cfa18d30fbadefbea257bf62c314a6 (diff)
parentb437fa963d7e44945d24c1c5a6453cebcaf7a682 (diff)
Merge remote-tracking branch 'nicolas/ignore-lost-n-found'
Diffstat (limited to 'src/Propellor/Property/Chroot/Util.hs')
-rw-r--r--src/Propellor/Property/Chroot/Util.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Propellor/Property/Chroot/Util.hs b/src/Propellor/Property/Chroot/Util.hs
index ac703136..fd91e984 100644
--- a/src/Propellor/Property/Chroot/Util.hs
+++ b/src/Propellor/Property/Chroot/Util.hs
@@ -27,7 +27,3 @@ removeChroot :: FilePath -> IO ()
removeChroot c = do
unmountBelow c
removeDirectoryRecursive c
-
--- | Returns true if a chroot directory is empty.
-unpopulated :: FilePath -> IO Bool
-unpopulated d = null <$> catchDefaultIO [] (dirContents d)