mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-07 09:17:49 +08:00
parent
65d9507c3d
commit
98ee5abe5f
@ -313,6 +313,10 @@ var repoVerifyCmd = &cmds.Command{
|
||||
}
|
||||
}
|
||||
|
||||
if err := req.Context.Err(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if fails != 0 {
|
||||
return errors.New("verify complete, some blocks were corrupt")
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user