Handle sender commands in vss_post_select().
[paraslash.git] / stdout.c
index b1e1bcb6f1edb0f986b4bf840cf8ef3ee57b3c55..87bf711f0d7a3794b7a6539c698a44457e984c28 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 < 0)
+               if (!*sot->loaded && *sot->input_error < 0)
                        t->error = *sot->input_error;
                return;
        }