Properly shutdown on connection loss instead of crashing.
authormartijn <martijn@openbsd.org>
Tue, 20 Apr 2021 11:19:54 +0000 (11:19 +0000)
committermartijn <martijn@openbsd.org>
Tue, 20 Apr 2021 11:19:54 +0000 (11:19 +0000)
commit569e8303afba0ed9418ede5e75e0b4896ee52851
tree1e48e06f9c5d418f6ac5b66d992aa9ae2df45dcb
parent26c6257674a9e628531ca2334f3ef46d8c41958e
Properly shutdown on connection loss instead of crashing.
Found by bluhm@ while playing with setting noclose to 1 for daemon(3):
Also included in this commit

OK bluhm@
regress/lib/libagentx/main.c