commit 3911f53558946e9f2904ba622941d59b0b542c2c Author: David Fifield david@bamsoftware.com Date: Thu May 1 08:17:13 2014 -0700
Emit a log line for SIGTERM. --- meek-client/meek-client.go | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/meek-client/meek-client.go b/meek-client/meek-client.go index f293b67..10aa597 100644 --- a/meek-client/meek-client.go +++ b/meek-client/meek-client.go @@ -307,7 +307,9 @@ func main() { ln.Close() }
+ log.Printf("got signal %s", sig) if sig == syscall.SIGTERM { + log.Printf("done") return }
@@ -321,5 +323,6 @@ func main() { } }
+ log.Printf("got second signal %s", sig) log.Printf("done") }
tor-commits@lists.torproject.org