aboutsummaryrefslogtreecommitdiff
path: root/src/progman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/progman.c')
-rw-r--r--src/progman.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/progman.c b/src/progman.c
index 8a5187c..1be7d27 100644
--- a/src/progman.c
+++ b/src/progman.c
@@ -1205,7 +1205,7 @@ prog_start (struct prog *prog)
close_fds (&fdset);
prog_execute (prog);
-
+
case -1:
logmsg (LOG_CRIT,
@@ -1546,6 +1546,9 @@ progman_wake_sleeping (int onalrm)
{
if (IS_ACTIVE_COMPONENT (prog) && prog->v.p.wait)
{
+ /* The following works on the assumption that prog->v.p.wait is
+ set when enabling the component and gets cleared right after
+ it has finished. */
if (prog->v.p.status != status_running)
prog_start (prog);
return;
@@ -2411,4 +2414,5 @@ progman_stop_tag (const char *name)
struct prog *prog = progman_locate (name);
progman_stop_component (&prog);
}
+
/* EOF */

Return to:

Send suggestions and report system problems to the System administrator.