diff options
Diffstat (limited to 'Command/Fsck.hs')
-rw-r--r-- | Command/Fsck.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs index 6dccb285b..8988100b8 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -356,6 +356,8 @@ checkKeyNumCopies key afile numcopies = do , do ppuuids <- Remote.prettyPrintUUIDs "untrusted" untrustedlocations warning $ missingNote file present numcopies ppuuids + when (fromNumCopies present == 0 && isNothing afile) $ + showLongNote "(Avoid this check by running: git annex dead --key )" return False ) else return True |