Don't clobber output on HUP

parent 70789601
...@@ -182,7 +182,7 @@ rotateout(void) ...@@ -182,7 +182,7 @@ rotateout(void)
AN(CTX.w_arg); AN(CTX.w_arg);
AN(CTX.fo); AN(CTX.fo);
fclose(CTX.fo); fclose(CTX.fo);
openout(0); openout(1);
AN(CTX.fo); AN(CTX.fo);
return (0); return (0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment