hfingerd

hhvn.uk:79
Log | Files | Refs | LICENSE

commit 4b126d27d7dfa1856d0dd416d892dd7c3498076b
parent 3bb393883567c99ededd076f1e491c1a39cc3a2f
Author: hhvn <dev@hhvn.uk>
Date:   Sun,  6 Jun 2021 00:07:30 +0100

main.c: verbose() on child finishing

Diffstat:
Mmain.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/main.c b/main.c @@ -178,6 +178,8 @@ main(int argc, char *argv[]) { break; case 0: handoff(handle); + /* use getpid, since pid var is 0 */ + verbose("handle %d, PID %d finished\n", handle, getpid()); shutdown(handle, SHUT_RDWR); close(handle); exit(EXIT_SUCCESS);