force verification after getting file from export remote

This way, if annex.verify is disabled, it's still checked, since this is
not a key/value store, it has to be checked.
This commit is contained in:
Joey Hess 2020-12-17 15:31:22 -04:00
parent ceda8c0066
commit 5946e7136e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -333,6 +333,6 @@ adjustExportImport rmt rs = do
)
(l:_) -> do
retrieveExport (exportActions r) k l dest p
return UnVerified
return MustVerify
, giveup $ "exported content cannot be verified due to using the " ++ decodeBS (formatKeyVariety (fromKey keyVariety k)) ++ " backend"
)