Skip to content

Commit

Permalink
Added small note about shutdown
Browse files Browse the repository at this point in the history
See #2180 (comment)

License: MIT
Signed-off-by: Richard Littauer <[email protected]>
  • Loading branch information
RichardLitt committed Jan 24, 2016
1 parent a5c4c5d commit e589147
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/ipfs/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 C-c again to force-shutdown the daemon.)")
}
}()

Expand Down

0 comments on commit e589147

Please sign in to comment.