From 38230c2ba5938078c9c278940679923f2489978d Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 1 Apr 2008 23:24:29 +0200 Subject: [PATCH] Fix another bug in stdout.c. This one caused the first chunk of data to be swallowed. --- stdout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdout.c b/stdout.c index b1e1bcb6..87bf711f 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 < 0) + if (!*sot->loaded && *sot->input_error < 0) t->error = *sot->input_error; return; } -- 2.39.2