mirror of https://github.com/status-im/go-waku.git
fix: Use log.Info rather than fmt.Println
This commit is contained in:
parent
2afffd9dd9
commit
74c0f648f2
|
@ -280,7 +280,7 @@ func Execute(options Options) {
|
||||||
ch := make(chan os.Signal, 1)
|
ch := make(chan os.Signal, 1)
|
||||||
signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM)
|
signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM)
|
||||||
<-ch
|
<-ch
|
||||||
fmt.Println("\n\n\nReceived signal, shutting down...")
|
log.Info("Received signal, shutting down...")
|
||||||
|
|
||||||
// shut the node down
|
// shut the node down
|
||||||
wakuNode.Stop()
|
wakuNode.Stop()
|
||||||
|
|
Loading…
Reference in New Issue