<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Hello,<BR>
<BR>
It seems like most of the examples in the Cookbook recommend that if you want to stop a job in the pre-start stanza, you should call "stop" which will handle stopping the job for you.  But, it seems looking at the Upstart code I can just as easily return a negative return value to cause the job to stop:<BR>
<BR>
<A HREF="http://bazaar.launchpad.net/~upstart-devel/upstart/trunk/view/head:/init/job.c#L417">http://bazaar.launchpad.net/~upstart-devel/upstart/trunk/view/head:/init/job.c#L417</A><BR>
<BR>
Is there a reason I should call "stop" over just returning a negative value?<BR>
<BR>
Thanks,<BR>
Ted<BR>
<BR>
</BODY>
</HTML>