From 38647fad92d2bce3da4dfd2091eb577ac71edddc Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Sun, 24 Jan 2016 17:56:19 +0000 Subject: [PATCH] Added small note about shutdown See https://github.com/ipfs/go-ipfs/pull/2180#issuecomment-171889567 License: MIT Signed-off-by: Richard Littauer --- cmd/ipfs/daemon.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/ipfs/daemon.go b/cmd/ipfs/daemon.go index d70ad91f0bf..e87cc7a8429 100644 --- a/cmd/ipfs/daemon.go +++ b/cmd/ipfs/daemon.go @@ -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.)") } }()