inverted logic
This commit is contained in:
parent
252b2e92b0
commit
95e748cbd4
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue