提交 8ef5a108 作者: Jeromy Johnson

Merge pull request #2243 from ipfs/feature/daemon-shutdown

Added small note about shutdown
......@@ -160,6 +160,7 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
select {
case <-req.Context().Done():
fmt.Println("Received interrupt signal, shutting down...")
fmt.Println("(Hit ctrl-c again to force-shutdown the daemon.)")
}
}()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论