1
0
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:
Richard Littauer
2016-01-24 17:56:19 +00:00
parent a5c4c5d17c
commit 38647fad92

@ -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.)")
}
}()