aboutsummaryrefslogtreecommitdiff
path: root/src/progman.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-01-04 15:11:34 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2013-01-04 15:11:34 +0200
commit95bc9b24928eb9951f0644307e417df0bc8c53b4 (patch)
treef1432aece52bdd1b334a13baec73f400d5a8afa3 /src/progman.c
parentc4603bf6e05687805744f67be0934b94c21e98a4 (diff)
downloadpies-95bc9b24928eb9951f0644307e417df0bc8c53b4.tar.gz
pies-95bc9b24928eb9951f0644307e417df0bc8c53b4.tar.bz2
Minor fixes.
* src/pies.c (modetab): Discern between "wait" and "respawn". * src/progman.c (progman_cleanup): Mark a terminated sysvinit component as status_finished.
Diffstat (limited to 'src/progman.c')
-rw-r--r--src/progman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progman.c b/src/progman.c
index e25219a..f0d0de6 100644
--- a/src/progman.c
+++ b/src/progman.c
@@ -2459,7 +2459,7 @@ progman_cleanup (int expect_term)
if (listener->v.p.comp->flags & CF_WAIT)
enable_socket (listener->v.p.socket);
}
- else if (prog->v.p.comp->mode == pies_comp_once)
+ else if (is_sysvinit(prog->v.p.comp->mode))
{
prog->v.p.status = status_finished;
}

Return to:

Send suggestions and report system problems to the System administrator.