commit 0070815b71e9a583d11d5c4e001f676708e77963 parent d64412f8ac57cd0388e33c88663218235cc59f35 Author: Laurent Bercot <ska-skaware@skarnet.org> Date: Wed, 23 Jan 2019 13:01:32 +0000 bugfix: correctly handle s6-svc -X Diffstat:
M | src/supervision/s6-supervise.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/supervision/s6-supervise.c b/src/supervision/s6-supervise.c @@ -620,8 +620,8 @@ static inline void handle_control (int fd) else if (!r) break ; else { - size_t pos = byte_chr("abqhkti12fFpcyroduxOX", 20, c) ; - if (pos < 20) (*actions[state][V_a + pos])() ; + size_t pos = byte_chr("abqhkti12fFpcyroduxOX", 21, c) ; + if (pos < 21) (*actions[state][V_a + pos])() ; } } }