On errors related to the pipes to the childs don't error out right away.
authorclaudio <claudio@openbsd.org>
Thu, 4 Nov 2021 18:00:07 +0000 (18:00 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 4 Nov 2021 18:00:07 +0000 (18:00 +0000)
commit01362062a8323ab98e9c3626881e56f157c81939
treed8b9bf9881a879bf2e4a78f26759db32b747e546
parent49d91399e287437f89c499a5fe68f9c96fc9d371
On errors related to the pipes to the childs don't error out right away.
Instead exit the main event loop and use waitpid to know why a child
went away. This should make it hopefully more clear when shit hits the fan.
OK tb@ deraadt@
usr.sbin/rpki-client/main.c