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>
Richard Littauer committed
Jan 24, 2016 at 17:56 UTC
38647fad92d2bce3da4dfd2091eb577ac71edddc
1 file changed
+1
cmd/ipfs/daemon.go
+1
@@ -160,6 +160,7 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
160
select {
161
case <-req.Context().Done():
162
fmt.Println("Received interrupt signal, shutting down...")
163
+ fmt.Println("(Hit ctrl-c again to force-shutdown the daemon.)")
164
}
165
}()
166