Skip to content

fix: don't try to catch os.Kill

feistel requested to merge feistel/gitlab-pages:fix/os-kill into master

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

Merge request reports