projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move gengetopt targets to own Makefile.
[paraslash.git]
/
stdout.c
diff --git
a/stdout.c
b/stdout.c
index b1e1bcb6f1edb0f986b4bf840cf8ef3ee57b3c55..ce0d22093486281f4fd489c2fcb07d0bb25ef01c 100644
(file)
--- a/
stdout.c
+++ b/
stdout.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2006-200
8
Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-200
9
Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
*
* 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) {
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;
}
t->error = *sot->input_error;
return;
}