~upstart-devel/upstart/trunk

« back to all changes in this revision

Viewing changes to util/telinit.c

  • Committer: James Hunt
  • Date: 2014-09-08 10:12:10 UTC
  • mto: This revision was merged to the branch mainline in revision 1664.
  • Revision ID: james.hunt@ubuntu.com-20140908101210-7mllut5lv8r3zi9g
* util/telinit.c: Remove UPSTART_TELINIT_U_NO_WAIT check as it
  shouldn't realistically be needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
         */
200
200
        ret = upstart_restart_sync (NULL, upstart);
201
201
 
202
 
        if (getenv ("UPSTART_TELINIT_U_NO_WAIT")) {
203
 
                /* Get-out-of-jail-free card - should never be required, but
204
 
                 * paranoia never hurt anyone and we strive to provide
205
 
                 * backwards-compatibility where possible.
206
 
                 */
207
 
                return ret;
208
 
        }
209
 
 
210
202
        if (ret < 0) {
211
203
                err = nih_error_get ();
212
204
                nih_free (err);