mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-30 16:01:06 +08:00
Added small note about shutdown
See https://github.com/ipfs/go-ipfs/pull/2180#issuecomment-171889567 License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
This commit is contained in:
@ -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.)")
|
||||
}
|
||||
}()
|
||||
|
||||
|
Reference in New Issue
Block a user