From: Andre Noll Date: Tue, 1 Apr 2008 20:41:05 +0000 (+0200) Subject: Fix a bug in stdout.c. X-Git-Tag: v0.3.2~27 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=5ab853b37a9fae7cf93ca809bf98d443440b6184;p=paraslash.git Fix a bug in stdout.c. --- 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; }