From 5ab853b37a9fae7cf93ca809bf98d443440b6184 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 1 Apr 2008 22:41:05 +0200 Subject: [PATCH] Fix a bug in stdout.c. --- stdout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2