add missing err check

This commit is contained in:
Anton Evangelatov 2021-07-02 15:15:16 +02:00
parent e9d0a25436
commit adba1a792a

View File

@ -134,7 +134,10 @@ var runCmd = &cli.Command{
bootstrapLibP2P := cfg.Subsystems.EnableStorageMarket
lr.Close()
err = lr.Close()
if err != nil {
return err
}
shutdownChan := make(chan struct{})