count children states for parent job of collection too
authorMiloš Mulač <mulac@civ.zcu.cz>
Thu, 19 Oct 2006 14:11:29 +0000 (14:11 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Thu, 19 Oct 2006 14:11:29 +0000 (14:11 +0000)
org.glite.lb.server/src/jobstat.c

index d430735..2a303e7 100644 (file)
@@ -163,7 +163,7 @@ int edg_wll_JobStatus(
        }
 
 #if DAG_ENABLE
-       if (stat->jobtype == EDG_WLL_STAT_DAG) {
+       if (stat->jobtype == EDG_WLL_STAT_DAG || stat->jobtype == EDG_WLL_STAT_COLLECTION) {
                if (1) {
                        char *out[2];
                        edg_wll_Stmt sh;