diff options
author | Joey Hess <joey@kitenet.net> | 2014-02-20 16:06:51 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-02-20 16:06:51 -0400 |
commit | 4a1ea86fa8feae4e9010d10a92df41997b76fff5 (patch) | |
tree | f3d148762182dfbeb5e6184965953e0ee7c904f0 | |
parent | 6c5fa55b0f808df48f10aa8e6a75ab8819c41573 (diff) |
bring back the (checksum) when fscking
This is useful because it shows users which files it checksums, vs ones
that are not present, or don't use a hash backend, or --fast
-rw-r--r-- | Backend/Hash.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Backend/Hash.hs b/Backend/Hash.hs index d46ce973e..41368a5bb 100644 --- a/Backend/Hash.hs +++ b/Backend/Hash.hs @@ -101,6 +101,7 @@ checkKeyChecksum hash key file = do case (mstat, fast) of (Just stat, False) -> do let filesize = fromIntegral $ fileSize stat + showSideAction "checksum" check <$> hashFile hash file filesize _ -> return True where |