diff --git a/source/daemons/qmaster/sge_job_qmaster.cc b/source/daemons/qmaster/sge_job_qmaster.cc index f9606eebf..df9850162 100644 --- a/source/daemons/qmaster/sge_job_qmaster.cc +++ b/source/daemons/qmaster/sge_job_qmaster.cc @@ -2629,6 +2629,7 @@ mod_job_attributes(const sge_gdi_packet_class_t *packet, lListElem *new_job, lLi if ((pos = lGetPosViaElem(jep, JB_qs_args, SGE_NO_ABORT)) >= 0) { DPRINTF("got new JB_qs_args\n"); lSetList(new_job, JB_qs_args, lCopyList("", lGetList(jep, JB_qs_args))); + *trigger |= MOD_EVENT; snprintf(SGE_EVENT, SGE_EVENT_SIZE, MSG_SGETEXT_MOD_JOBS_SU, MSG_JOB_QSARGS, sge_u32c(jobid)); answer_list_add(alpp, SGE_EVENT, STATUS_OK, ANSWER_QUALITY_INFO); } @@ -2636,8 +2637,8 @@ mod_job_attributes(const sge_gdi_packet_class_t *packet, lListElem *new_job, lLi /* ---- JB_job_args */ if ((pos = lGetPosViaElem(jep, JB_job_args, SGE_NO_ABORT)) >= 0) { DPRINTF("got new JB_job_args\n"); - lSetList(new_job, JB_job_args, - lCopyList("", lGetList(jep, JB_job_args))); + lSetList(new_job, JB_job_args, lCopyList("", lGetList(jep, JB_job_args))); + *trigger |= MOD_EVENT; snprintf(SGE_EVENT, SGE_EVENT_SIZE, MSG_SGETEXT_MOD_JOBS_SU, MSG_JOB_SCRIPTARGS, sge_u32c(jobid)); answer_list_add(alpp, SGE_EVENT, STATUS_OK, ANSWER_QUALITY_INFO); }