diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cli_new.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli_new.c b/src/cli_new.c index 2cb0c03..f01d2a4 100644 --- a/src/cli_new.c +++ b/src/cli_new.c @@ -2290,6 +2290,7 @@ system_out(char *cmd, const char *prepend_msg, boolean eloc) if (!prepend) { fprintf(out_stream, "\n"); } + close(pfd[0]); if (!waited) { if (waitpid(cpid, &status, 0) != cpid) { return -1; |