X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stdout.c;h=ce0d22093486281f4fd489c2fcb07d0bb25ef01c;hp=ebc1cb98fd7970f9b17cab73710a6557c5a3c385;hb=8221397af24a2df3c2edbc889847ce0ab15eb3e0;hpb=0810e4932d4d8fb477d4af5596d4b263d2538ff6 diff --git a/stdout.c b/stdout.c index ebc1cb98..ce0d2209 100644 --- a/stdout.c +++ b/stdout.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2008 Andre Noll + * Copyright (C) 2006-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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->loaded && *sot->input_error < 0) t->error = *sot->input_error; return; }