diff --git a/src/srun/io.c b/src/srun/io.c index e428b7ca770caee8b49f4b5ace138429d4cacd19..e7774200ac71c9928fbd5641a9a8fbf9da93f359 100644 --- a/src/srun/io.c +++ b/src/srun/io.c @@ -681,8 +681,6 @@ _do_task_output(int *fd, FILE *out, cbuf_t buf, int tasknum) int dropped = 0; if ((len = cbuf_write_from_fd(buf, *fd, -1, &dropped)) <= 0) { - if (errno == EAGAIN) - return len; if ((len != 0)) error("Error task %d IO: %m", tasknum); _close_stream(fd, out, tasknum);