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

« back to all changes in this revision

Viewing changes to util/telinit.c

  • Committer: Scott James Remnant
  • Date: 2009-02-20 22:22:48 UTC
  • Revision ID: scott@netsplit.com-20090220222248-0yovfzpaeaz4408f
* util/initctl.c (job_info_output, output_name, handle_job_list)
(handle_job_instance, handle_job_instance_end)
(handle_job_status, handle_job_process, handle_job_status_end)
(handle_event, env_option),
* util/telinit.c (main),
* util/shutdown.c (main, shutdown_now, timer_callback, wall): 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* upstart
2
2
 *
3
 
 * Copyright © 2008 Canonical Ltd.
 
3
 * Copyright © 2009 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
102
102
        case '4':
103
103
        case '5':
104
104
        case '6':
105
 
                NIH_MUST (message = upstart_message_new (
 
105
                message = NIH_MUST (upstart_message_new (
106
106
                                  NULL, UPSTART_INIT_DAEMON,
107
107
                                  UPSTART_EVENT_EMIT, "runlevel", args, NULL));
108
108
                break;
109
109
        case 'S':
110
110
        case 's':
111
111
                args[0][0] = 'S';
112
 
                NIH_MUST (message = upstart_message_new (
 
112
                message = NIH_MUST (upstart_message_new (
113
113
                                  NULL, UPSTART_INIT_DAEMON,
114
114
                                  UPSTART_EVENT_EMIT, "runlevel", args, NULL));
115
115
                break;