*: remove os.Kill from signal.Notify

Clears SA1016 in staticcheck
This commit is contained in:
Anthony Romano
2017-04-06 21:32:12 -07:00
parent d31701bab5
commit 7e05b33aa0
4 changed files with 7 additions and 5 deletions

2
test
View File

@@ -281,7 +281,7 @@ function fmt_pass {
if [ -n "${staticcheckResult}" ]; then
# TODO: resolve these after go1.8 migration
# See https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck
STATIC_CHECK_MASK="SA(1016|1019|2002)"
STATIC_CHECK_MASK="SA(1019|2002)"
if echo "${staticcheckResult}" | egrep -v "$STATIC_CHECK_MASK"; then
echo -e "staticcheck checking ${path} failed:\n${staticcheckResult}"
exit 255