inverted logic
This commit is contained in:
parent
eab4470440
commit
6a45f4cdaf
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ sanityCheckerStartupThread startupdelay = namedThreadUnchecked "SanityCheckerSta
|
||||||
|
|
||||||
{- A corrupt index file can prevent the assistant from working at
|
{- A corrupt index file can prevent the assistant from working at
|
||||||
- all, so detect and repair. -}
|
- all, so detect and repair. -}
|
||||||
ifM (liftAnnex $ inRepo $ checkIndex S.empty)
|
ifM (not <$> liftAnnex (inRepo (checkIndex S.empty)))
|
||||||
( do
|
( do
|
||||||
debug ["corrupt index file found at startup; removing and restaging"]
|
debug ["corrupt index file found at startup; removing and restaging"]
|
||||||
liftAnnex $ inRepo nukeIndex
|
liftAnnex $ inRepo nukeIndex
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue