X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stdout.c;h=b1e1bcb6f1edb0f986b4bf840cf8ef3ee57b3c55;hp=ebc1cb98fd7970f9b17cab73710a6557c5a3c385;hb=5ab853b37a9fae7cf93ca809bf98d443440b6184;hpb=f15a16b7a40e263ab7e86c9437fe9db0216ba605 diff --git a/stdout.c b/stdout.c index ebc1cb98..b1e1bcb6 100644 --- a/stdout.c +++ b/stdout.c @@ -62,7 +62,7 @@ static void stdout_post_select(struct sched *s, struct task *t) t->error = 0; if (!sot->check_fd) { - if (*sot->input_error) + if (*sot->input_error < 0) t->error = *sot->input_error; return; }