fix: don't try to catch os.Kill
What does this MR do?
SIGKILL can't be caught/ignored.
From https://www.man7.org/linux/man-pages/man2/sigaction.2.html:
EINVAL An invalid signal was specified. This will also be
generated if an attempt is made to change the action for
SIGKILL or SIGSTOP, which cannot be caught or ignored.
See https://github.com/golang/go/issues/13080 and https://github.com/golang/go/commit/3356624df3414a3ca0c8390ca433a0811e552872
TODO
-
I added the Changelog
trailer (e.g.Changelog: feature
) to the commits that need to be included in the changelog -
I added unit tests or they are not required -
I added acceptance tests or they are not required -
I added documentation (or it's not required) -
I followed code review guidelines -
I followed Go Style guidelines