aboutsummaryrefslogtreecommitdiff
path: root/src/cmdline.opt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdline.opt')
-rw-r--r--src/cmdline.opt4
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;
119END 119END
120 120
121CPP(#if PIES_SYSVINIT_ENABLED)
121OPTION(telinit,T,, 122OPTION(telinit,T,,
122 [<telinit command: run "pies -T --help" for help>]) 123 [<telinit command: run "pies -T --help" for help>])
123BEGIN 124BEGIN
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)));
126END 127END
128CPP(#endif)
127 129
128GROUP(Preprocessor) 130GROUP(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;

Return to:

Send suggestions and report system problems to the System administrator.