]> Cypherpunks repositories - gostls13.git/commit
os/signal: don't expect to be notified for os.Kill
authorBurcu Dogan <jbd@google.com>
Thu, 29 Oct 2015 07:02:02 +0000 (00:02 -0700)
committerBurcu Dogan <jbd@google.com>
Thu, 29 Oct 2015 15:39:15 +0000 (15:39 +0000)
commit3356624df3414a3ca0c8390ca433a0811e552872
tree81144e657fe61beedac3ccc9b32839f227dde26a
parent85a6a9771da3faae67939203cb78a7c60fafef15
os/signal: don't expect to be notified for os.Kill

os.Kill cannot be caught on Unix systems.
The example gives the false impression that it can.

Fixes #13080.

Change-Id: I3b9e6f38a38f437a463c5b869ae84a0d3fd23f72
Reviewed-on: https://go-review.googlesource.com/16467
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/os/signal/example_test.go