~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 677.

  • Committer: Scott James Remnant
  • Date: 2007-03-13 19:13:19 UTC
  • Revision ID: scott@netsplit.com-20070313191319-gztu8c0r0sjla0hp
* init/main.c: Wait until we've closed inherited standard file
descriptors and opened the console instead before trying to open the
control socket; otherwise we end up closing it by accident if we
weren't opened with sufficient descriptors in the first place.
Also wait until we've set up the logger before trying to parse the
configuration.  In fact both of these things need to be pretty low
down the main() function.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: