left an unhandled case in previous commit

This commit is contained in:
Joey Hess 2020-05-15 14:31:50 -04:00
parent cdbfaae706
commit 0a9a3ed1c3
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -172,6 +172,7 @@ ingest' preferredbackend meterupdate (Just (LockedDown cfg source)) mk restage =
go key mcache (Just s)
| lockingFile cfg = golocked key mcache s
| otherwise = gounlocked key mcache s
go _ _ Nothing = failure "failed to generate a key"
golocked key mcache s =
tryNonAsync (moveAnnex key $ fromRawFilePath $ contentLocation source) >>= \case