jobs.c
changeset 346 90545736507e
parent 335 b4a5d9544836
equal deleted inserted replaced
345:c8fd555369d1 346:90545736507e
   358                 depended_job = findjob(p->depend_on);
   358                 depended_job = findjob(p->depend_on);
   359                 if (depended_job != 0)
   359                 if (depended_job != 0)
   360                     add_notify_errorlevel_to(depended_job, p->jobid);
   360                     add_notify_errorlevel_to(depended_job, p->jobid);
   361                 else
   361                 else
   362                     warning("The jobid %i is queued to do_depend on the jobid %i"
   362                     warning("The jobid %i is queued to do_depend on the jobid %i"
   363                         " suddenly non existant in the queue", p->jobid,
   363                         " suddenly non existent in the queue", p->jobid,
   364                         p->depend_on);
   364                         p->depend_on);
   365             }
   365             }
   366             else /* Otherwise take the finished job, or the last_errorlevel */
   366             else /* Otherwise take the finished job, or the last_errorlevel */
   367             {
   367             {
   368                 if (m->u.newjob.depend_on == -1)
   368                 if (m->u.newjob.depend_on == -1)