summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-06-28 09:41:22 +0000
committerLaurent Bercot <ska@appnovation.com>2022-06-28 09:41:22 +0000
commit89b2bc9af553366c4092438b614dfa1b6b577c18 (patch)
tree553576d6e569efa29edcc700d001b70a1751e6f7
parent9b05669cdd22b7f9c7b2ffdee284f3d6fbd27034 (diff)
downloads6-89b2bc9af553366c4092438b614dfa1b6b577c18.tar.xz
bugfix: s6-supervise: -x should closethem() even in LASTUP state
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--src/supervision/s6-supervise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervision/s6-supervise.c b/src/supervision/s6-supervise.c
index 2060cac..55c9c71 100644
--- a/src/supervision/s6-supervise.c
+++ b/src/supervision/s6-supervise.c
@@ -591,7 +591,7 @@ static action_t_ref const actions[5][24] =
&up_o, &down_d, &finish_u, &finish_x, &up_o },
{ &uptimeout, &lastup_z, &up_d, &closethem, &bail, &sigint,
&killa, &killb, &killq, &killh, &killk, &killt, &killi, &kill1, &kill2, &killp, &killc, &killy, &killr,
- &up_o, &up_d, &nop, &nop, &up_o },
+ &up_o, &up_d, &nop, &closethem, &up_o },
{ &finishtimeout, &lastfinish_z, &nop, &closethem, &bail, &sigint,
&nop, &nop, &nop, &nop, &nop, &nop, &nop, &nop, &nop, &nop, &nop, &nop, &nop,
&nop, &nop, &nop, &nop, &nop }