Skip to content
Snippets Groups Projects
Commit 4f7f4848 authored by Mark Grondona's avatar Mark Grondona
Browse files

o fixed bug in differentiating b/w stderr and stdout streams

parent dacf01ba
No related branches found
No related tags found
No related merge requests found
...@@ -139,7 +139,7 @@ _handle_task_output(int *fd, FILE *out, int tasknum) ...@@ -139,7 +139,7 @@ _handle_task_output(int *fd, FILE *out, int tasknum)
if ((len = _readx(*fd, buf, IO_BUFSIZ)) <= 0) { if ((len = _readx(*fd, buf, IO_BUFSIZ)) <= 0) {
debug("%d: <%s disconnected>", tasknum, debug("%d: <%s disconnected>", tasknum,
out = stdout ? "stdout" : "stderr"); out == stdout ? "stdout" : "stderr");
fflush(stderr); fflush(stderr);
shutdown(*fd, SHUT_RDWR); shutdown(*fd, SHUT_RDWR);
close(*fd); close(*fd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment