unset payload_runnning flag on DONE from LRMS
authorMiloš Mulač <mulac@civ.zcu.cz>
Tue, 5 Aug 2008 09:47:24 +0000 (09:47 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Tue, 5 Aug 2008 09:47:24 +0000 (09:47 +0000)
org.glite.lb.state-machine/src/process_event.c

index d4e073d..fad8535 100644 (file)
@@ -686,6 +686,7 @@ static int processEvent_glite(intJobStat *js, edg_wll_Event *e, int ev_seq, int
                                 * to DONE state according its current definition */
                                if (USABLE(res, strict)) {
                                        js->pub.jw_status = EDG_WLL_STAT_DONE;
+                                       js->pub.payload_running = 0;
                                }
                                break;
                        }