~jamesodhunt/ubuntu/raring/upstart/1.6

« back to all changes in this revision

Viewing changes to init/main.c

  • Committer: Scott James Remnant
  • Date: 2010-02-04 23:59:00 UTC
  • mfrom: (1185.1.9 upstream)
  • Revision ID: scott@netsplit.com-20100204235900-c0j0frow10azwsus
* New upstream release:
  - libnih has been separated out into its own project.
  - "start on" and "stop on" now support != matches.  LP: #513035.
  - Fixed crash in child when unable to spawn job.  LP: #451917.
  - No longer holds /dev/console open so SAK won't kill init.  LP: #486005.
  - Added missing OPTIONS section to init(8).  LP: #449883.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* upstart
2
2
 *
3
 
 * Copyright © 2009 Canonical Ltd.
 
3
 * Copyright © 2010 Canonical Ltd.
4
4
 * Author: Scott James Remnant <scott@netsplit.com>.
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or modify
174
174
         */
175
175
        if (system_setup_console (CONSOLE_OUTPUT, (! restart)) < 0)
176
176
                nih_free (nih_error_get ());
 
177
        if (system_setup_console (CONSOLE_NONE, FALSE) < 0)
 
178
                nih_free (nih_error_get ());
177
179
 
178
180
        /* Set the PATH environment variable */
179
181
        setenv ("PATH", PATH, TRUE);