propellor spin

This commit is contained in:
Joey Hess 2014-12-04 16:55:33 -04:00
parent 31cf8e0c24
commit 61766ff027
Failed to extract signature
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ cleanInstallOnce confirmation = check (not <$> doesFileExist flagfile) $
umountall = property "mount points unmounted" $ liftIO $ do
mnts <- filter (`notElem` ["/", "/proc"]) <$> mountPoints
forM_ mnts umountLazy
-- reverse so that deeper mount points come first
forM_ (reverse mnts) umountLazy
return $ if null mnts then NoChange else MadeChange
flipped = property (newOSDir ++ " moved into place") $ liftIO $ do