storageminer: Remove node shutdown hack

This commit is contained in:
Łukasz Magiera 2019-09-17 20:28:21 +02:00
parent 7f68fa9567
commit 037fa84e68

View File

@ -38,13 +38,6 @@ var runCmd = &cli.Command{
}
ctx := &valctx.Context{Parent: lcli.ReqContext(cctx)}
go func() {
// a hack for now to handle sigint
<-ctx.Done()
os.Exit(0)
}()
v, err := nodeApi.Version(ctx)
if err != nil {
return err