Merge authors:
  Stéphane Graber (stgraber)
Related merge proposals:
  https://code.launchpad.net/~stgraber/upstart/upstart-fix-reexec/+merge/151050
  proposed by: Stéphane Graber (stgraber)
  review: Approve - James Hunt (jamesodhunt)
------------------------------------------------------------
revno: 1440 [merge]
committer: James Hunt <[email protected]>
branch nick: upstart
timestamp: Thu 2013-02-28 16:47:33 +0000
message:
  * Merge of lp:~stgraber/upstart/upstart-fix-reexec (which allows Session
    Inits to re-exec when invoked simply as 'init').
modified:
  init/state.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/state.c'
--- init/state.c	2013-01-25 20:08:49 +0000
+++ init/state.c	2013-02-28 16:40:36 +0000
@@ -1869,7 +1869,7 @@
 	if (! restart)
 		NIH_MUST (nih_str_array_add (&args_copy, NULL, NULL, "--restart"));
 
-	execv (args_copy[0], args_copy);
+	execvp (args_copy[0], args_copy);
 	nih_error_raise_system ();
 
 	err = nih_error_get ();

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

Reply via email to