X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=sched.c;h=8baed4962d9e5dfbf2cad170b1c38d2d42b123b3;hb=d7b4aa3835197ee906f13f515040e1cda6385544;hp=4e989d34109a0d1f904b01928c3285e773d9aa8f;hpb=86611501af20b6b3eee45ac39a1daa7d50ada231;p=paraslash.git diff --git a/sched.c b/sched.c index 4e989d34..8baed496 100644 --- a/sched.c +++ b/sched.c @@ -7,7 +7,6 @@ /** \file sched.c Paraslash's scheduling functions. */ #include -#include /* readdir() */ #include #include @@ -93,7 +92,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;