------------------------------------------------------------
revno: 1628
committer: James Hunt <[email protected]>
branch nick: upstart
timestamp: Wed 2014-06-04 14:34:51 +0100
message:
  * Comment.
modified:
  init/job_process.c


--
lp:upstart
https://code.launchpad.net/~upstart-devel/upstart/trunk

Your team Upstart Reviewers is subscribed to branch lp:upstart.
To unsubscribe from this branch go to 
https://code.launchpad.net/~upstart-devel/upstart/trunk/+edit-subscription
=== modified file 'init/job_process.c'
--- init/job_process.c	2014-06-04 12:52:06 +0000
+++ init/job_process.c	2014-06-04 13:34:51 +0000
@@ -2477,6 +2477,11 @@
 	if (job && job->state == JOB_SPAWNED) {
 		if (job->class->expect == EXPECT_NONE) {
 			if (process == PROCESS_MAIN) {
+				/* Job has not specified expect stanza so will
+				 * not have its state automatically progressed
+				 * by the ptrace handlers, hence bump it
+				 * manually.
+				 */
 				job_change_state (job, job_next_state (job));
 			}
 		}

-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to