Fix signal handler for SIGTERM, SIGINT and SIGQUIT.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 12 Oct 2021 01:40:11 +0000 (10:40 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Tue, 12 Oct 2021 01:42:08 +0000 (10:42 +0900)
commita086144ae2e7f6812bd3c0b66b8f34e1677ec974
treeb67e77539cf4e864ed79e7c34c06c8c587e931fb
parenteac5296ebb7dbd372c05b0fe19d451f27194e9bf
Fix signal handler for SIGTERM, SIGINT and SIGQUIT.

It did not properly save errno and it was possible to overwrite errno.
src/protocol/child.c