diff options
Diffstat (limited to 'qarshd.c')
-rw-r--r-- | qarshd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -275,6 +275,7 @@ handle_packets(int infd) if (child_exitted) { waitpid(child_pid, &child_status, 0); child_exitted--; + child_pid = 0; rp = make_qp_cmdexit(child_pid, child_status); send_packet(fileno(stdout), rp); qpfree(rp); |