diff options
author | 2015-06-09 15:12:40 -0400 | |
---|---|---|
committer | 2015-06-09 15:12:40 -0400 | |
commit | 416d0ea949e8c71f3d210cd27735694245c4fc1d (patch) | |
tree | d317e2efefeccc4bdd0042a5dad38a683cd52ac3 | |
parent | 7cb7b22955dd4f6e1cf1aa5c8bff34e052bb5123 (diff) |
add a hint about marking a key dead
-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 |