projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server: Introduce command_{pre,post}_select().
[paraslash.git]
/
stdout.c
diff --git
a/stdout.c
b/stdout.c
index ebc1cb98fd7970f9b17cab73710a6557c5a3c385..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) {
t->error = 0;
if (!sot->check_fd) {
- if (
*sot->input_error
)
+ if (
!*sot->loaded && *sot->input_error < 0
)
t->error = *sot->input_error;
return;
}
t->error = *sot->input_error;
return;
}