diff options
Diffstat (limited to 'Command/ReKey.hs')
-rw-r--r-- | Command/ReKey.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/ReKey.hs b/Command/ReKey.hs index 4ddbd68b6..aaaaf7e37 100644 --- a/Command/ReKey.hs +++ b/Command/ReKey.hs @@ -126,6 +126,6 @@ cleanup file oldkey newkey = do Database.Keys.removeAssociatedFile oldkey =<< inRepo (toTopFilePath file) ) - - logStatus newkey InfoPresent + whenM (inAnnex newkey) $ + logStatus newkey InfoPresent return True |