X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.c;h=9be3a2e83109f0db884c5fdebf3e7e62f4f9b3c5;hp=4e989d34109a0d1f904b01928c3285e773d9aa8f;hb=886c74b9356c905b528d51ac6ab1628496caf3f0;hpb=64a9cf5877ab9ecf6410596d657914f26830d3f7 diff --git a/sched.c b/sched.c index 4e989d34..9be3a2e8 100644 --- a/sched.c +++ b/sched.c @@ -93,7 +93,8 @@ static void sched_post_select(struct sched *s) struct task *t, *tmp; list_for_each_entry_safe(t, tmp, &post_select_list, post_select_node) { - call_post_select(s, t); + if (t->error >= 0) + call_post_select(s, t); // PARA_INFO_LOG("%s: %d\n", t->status, t->ret); if (t->error >= 0) continue;