storageminer: Remove node shutdown hack
This commit is contained in:
parent
7f68fa9567
commit
037fa84e68
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user