ref: eb53756615dfd7d4f6110ba3315de086780d977e
parent: 87bd72ba5cbafb99c58e608c335705a98b10ce23
author: Jacob Moody <[email protected]>
date: Tue Jul 5 14:13:17 EDT 2022
exit cleanly on EOF in child process
--- a/cpu.c
+++ b/cpu.c
@@ -181,6 +181,7 @@
case -1:
sysfatal("fork");
case 0:
+ xferc = getppid();
xfer(infd, -1, s_recv, tls_send);
break;
default: