~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 84.

  • Committer: Scott James Remnant
  • Date: 2006-08-16 15:13:03 UTC
  • Revision ID: scott@netsplit.com-20060816151303-2a94b7f32fa685d5
* init/job.c (job_change_state): Make it illegal for a job to exist
without either a command or script or both.  This is for sanity
reasons, allowing no primary process makes no sense and can lead
to event loops if someone is feeling nefarious.
* init/tests/test_job.c (test_change_state): Drop test on behaviour
we've just outlawed.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: