aboutsummaryrefslogtreecommitdiff
path: root/src/progman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/progman.c')
-rw-r--r--src/progman.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/progman.c b/src/progman.c
index 88f9afa..70ebf68 100644
--- a/src/progman.c
+++ b/src/progman.c
@@ -826,3 +826,3 @@ prog_start_prologue (struct prog *prog)
envop_exec (prog->v.p.comp->envop, prog->v.p.env);
- if (init_process)
+ if (SYSVINIT_ACTIVE)
{
@@ -901,3 +901,3 @@ prog_start (struct prog *prog)
{
- if (!init_process)
+ if (!SYSVINIT_ACTIVE)
{
@@ -997,3 +997,3 @@ prog_start (struct prog *prog)
default:
- if (init_process)
+ if (SYSVINIT_ACTIVE)
{
@@ -1039,3 +1039,3 @@ prog_start (struct prog *prog)
- if (!init_process)
+ if (!SYSVINIT_ACTIVE)
{
@@ -1602,3 +1602,3 @@ print_status (const char *tag, pid_t pid, int status, int expect_term)
- if (init_process)
+ if (SYSVINIT_ACTIVE)
{
@@ -2149,3 +2149,4 @@ progman_cleanup (int expect_term)
{
- if (prog->v.p.comp->mode >= pies_mark_sysvinit
+ if (PIES_SYSVINIT_ENABLED
+ && prog->v.p.comp->mode >= pies_mark_sysvinit
&& prog->v.p.comp->mode != pies_comp_ondemand)
@@ -2305,3 +2306,3 @@ prog_to_stop (struct prog *prog)
#define DIAG_CON \
- (init_process ? (DIAG_TO_STDERR|DIAG_REOPEN_LOG) : diag_output)
+ (SYSVINIT_ACTIVE ? (DIAG_TO_STDERR|DIAG_REOPEN_LOG) : diag_output)

Return to:

Send suggestions and report system problems to the System administrator.