[Xquartz-dev] Leopard, Xquartz 2.1.5 and Spawning Problems

Grant Erickson erick205 at umn.edu
Wed Mar 18 21:15:16 PDT 2009


On 3/18/09 6:39 PM, Jeremy Huddleston wrote:
>> What is it about falling off the end of the profile that is OK (should
>> amount to exit $?) whereas explicitly calling exit 0 causes X11 to
>> choke in attempting to launch?
> 
> If you exit, you exit.  launchd doesn't see X11 start (because you
> exited), so it tries again (and you exit again).
>
> "falling off the end of the profile" is not the same as exit $?

My mental model of exit with respect to sourced scripts was that it was akin
to "falling off the end"; however, clearly that was and is wrong. Thanks for
the (re-)education.





More information about the Xquartz-dev mailing list