In practices adds annotations in the new syntax: ``` +//go:build !linux // +build !linux ``` Fixes failing gotip PASSES='fmt' check: https://travis-ci.com/github/etcd-io/etcd/jobs/486453806
Was causing etcd to terminate before finishing writing its coverage profile.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
The go runtime won't always reinstall the default signal handler on the SIGTERM path, so it's possible the signal won't terminate the process. Instead, force SIG_DFL for the signal.