~jamesodhunt/upstart/bug-1079715

Viewing all changes in revision 1395.

  • Committer: James Hunt
  • Date: 2012-12-06 09:40:25 UTC
  • Revision ID: james.hunt@ubuntu.com-20121206094025-ffbplpws55r5oi4d
* init/control.c: control_get_state():
  - Simplified session check.
  - Changed error message to refer to 'state', not 'restart'.
  - Don't call control_bus_flush() since it's not technically required
    in this non-re-exec scenario.
* init/state.c: state_write_file():
  - Added comment.
  - Check write for EINTR, not EAGAIN/EWOULDBLOCK.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: