Skip to content

Commit

Permalink
Merge pull request #2243 from ipfs/feature/daemon-shutdown
Browse files Browse the repository at this point in the history
Added small note about shutdown
  • Loading branch information
whyrusleeping committed Jan 27, 2016
2 parents 04f8d3a + 38647fa commit 8ef5a10
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 ctrl-c again to force-shutdown the daemon.)")
}
}()

Expand Down

0 comments on commit 8ef5a10

Please sign in to comment.