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:40:11 +0000 (10:40 +0900)
commit89738285251dbb5a57cc1748a7c94bd4f78124f9
tree8e467e4140840d69559be0678626f6f1073cfbdb
parent2ec5d9f30abf4e88599664b5b8442e6b8e44ccb4
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