summaryrefslogtreecommitdiffabout
path: root/src/progman.c
Side-by-side diff
Diffstat (limited to 'src/progman.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/progman.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/progman.c b/src/progman.c
index 4ca3824..020dccd 100644
--- a/src/progman.c
+++ b/src/progman.c
@@ -303,9 +303,9 @@ progman_waiting_p ()
{
if (IS_COMPONENT (prog) && prog->v.p.wait && prog->pid > 0)
{
- debug(1, ("%s: waiting for %s (%lu)",
- __FUNCTION__, prog_tag (prog),
- (unsigned long) prog->pid));
+ debug (3, ("%s: waiting for %s (%lu)",
+ __FUNCTION__, prog_tag (prog),
+ (unsigned long) prog->pid));
return 1;
}
}
@@ -2305,7 +2305,8 @@ progman_cleanup (int expect_term)
}
else
{
- if (prog->v.p.comp->mode >= pies_mark_sysvinit)
+ if (prog->v.p.comp->mode >= pies_mark_sysvinit
+ && prog->v.p.comp->mode != pies_comp_ondemand)
{
sysvinit_acct (SYSV_ACCT_PROC_STOP, "", prog_tag (prog),
pid, "");

Return to:

Send suggestions and report system problems to the System administrator.