inverted logic

This commit is contained in:
Joey Hess 2011-12-09 13:32:09 -04:00
parent 252b2e92b0
commit 95e748cbd4
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ seek :: [CommandSeek]
seek = [withKeys start]
start :: Key -> CommandStart
start key = stopUnless (not <$> inAnnex key) $ do
start key = stopUnless (inAnnex key) $ do
unlessM (Annex.getState Annex.force) $
error "dropkey can cause data loss; use --force if you're sure you want to do this"
showStart "dropkey" (show key)