diff options
Diffstat (limited to 'src/cmdline.opt')
-rw-r--r-- | src/cmdline.opt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt index d2aaf6d..d9d90e1 100644 --- a/src/cmdline.opt +++ b/src/cmdline.opt | |||
@@ -118,12 +118,14 @@ BEGIN | |||
118 | lint_mode = 1; | 118 | lint_mode = 1; |
119 | END | 119 | END |
120 | 120 | ||
121 | CPP(#if PIES_SYSVINIT_ENABLED) | ||
121 | OPTION(telinit,T,, | 122 | OPTION(telinit,T,, |
122 | [<telinit command: run "pies -T --help" for help>]) | 123 | [<telinit command: run "pies -T --help" for help>]) |
123 | BEGIN | 124 | BEGIN |
124 | log_to_stderr_only = 1; | 125 | log_to_stderr_only = 1; |
125 | exit (telinit (argc - (optind - 1), argv + (optind - 1))); | 126 | exit (telinit (argc - (optind - 1), argv + (optind - 1))); |
126 | END | 127 | END |
128 | CPP(#endif) | ||
127 | 129 | ||
128 | GROUP(Preprocessor) | 130 | GROUP(Preprocessor) |
129 | 131 | ||
@@ -220,7 +222,7 @@ parse_options (int *pargc, char ***pargv) | |||
220 | char **argv = *pargv; | 222 | char **argv = *pargv; |
221 | int index; | 223 | int index; |
222 | 224 | ||
223 | if (init_process) | 225 | if (SYSVINIT_ACTIVE) |
224 | { | 226 | { |
225 | sysvinit_parse_argv (argc, argv); | 227 | sysvinit_parse_argv (argc, argv); |
226 | index = argc; | 228 | index = argc; |