fsck: When checksumming a file fails due to a hardware fault, the file is now moved to the bad directory, and the fsck proceeds. Before, the fsck immediately failed.

This commit is contained in:
Joey Hess 2015-05-27 16:40:03 -04:00
parent ff629a1ec0
commit 8990d4cc68
4 changed files with 21 additions and 11 deletions

View file

@ -21,8 +21,6 @@ import Utility.Exception
import Data.List
import Data.Char
import System.IO
import Control.Applicative
import Prelude
externalSHA :: String -> Int -> FilePath -> IO (Either String String)
externalSHA command shasize file = do