]> git.tue.mpg.de Git - paraslash.git/commitdiff
Fix a bug in stdout.c.
authorAndre Noll <maan@systemlinux.org>
Tue, 1 Apr 2008 20:41:05 +0000 (22:41 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 1 Apr 2008 20:41:05 +0000 (22:41 +0200)
stdout.c

index ebc1cb98fd7970f9b17cab73710a6557c5a3c385..b1e1bcb6f1edb0f986b4bf840cf8ef3ee57b3c55 100644 (file)
--- 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;
        }