summaryrefslogtreecommitdiffabout
path: root/src/cmdline.opt
Side-by-side diff
Diffstat (limited to 'src/cmdline.opt') (more/less context) (ignore whitespace changes)
-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
lint_mode = 1;
END
+CPP(#if PIES_SYSVINIT_ENABLED)
OPTION(telinit,T,,
[<telinit command: run "pies -T --help" for help>])
BEGIN
log_to_stderr_only = 1;
exit (telinit (argc - (optind - 1), argv + (optind - 1)));
END
+CPP(#endif)
GROUP(Preprocessor)
@@ -220,7 +222,7 @@ parse_options (int *pargc, char ***pargv)
char **argv = *pargv;
int index;
- if (init_process)
+ if (SYSVINIT_ACTIVE)
{
sysvinit_parse_argv (argc, argv);
index = argc;

Return to:

Send suggestions and report system problems to the System administrator.