19 Mar
2009
19 Mar
'09
4:15 a.m.
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.