summaryrefslogtreecommitdiff
path: root/sys/src/cmd/skelfs.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-11-05 02:57:49 +0000
committerMichael Forney <mforney@mforney.org>2022-11-05 02:57:49 +0000
commitb7cc14789adbd31e4e7334f502782feea34a8524 (patch)
treee390fe997e05facafa502a3f94e5f675b5cc33c0 /sys/src/cmd/skelfs.c
parent4d1d8c342fc391cc8cf4b966a3c4f1d0c756d128 (diff)
ircrc: fix race with pipe causing hangup
If the work function opens and closes $netdir/data for an echo redirection *before* the asynchronous cat process opens it, aux/trampoline (or tlsclient) will receive a hangup, terminating the connection. To fix this, redirect work's stdout to $netdir/data so that it remains open, and adjust the echo commands accordingly.
Diffstat (limited to 'sys/src/cmd/skelfs.c')
0 files changed, 0 insertions, 0 deletions