diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-01-23 13:01:32 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-01-23 13:01:32 +0000 |
commit | 0070815b71e9a583d11d5c4e001f676708e77963 (patch) | |
tree | b439b406697f5aa39abdd1bc2a314295b30ab73a /src | |
parent | d64412f8ac57cd0388e33c88663218235cc59f35 (diff) | |
download | s6-0070815b71e9a583d11d5c4e001f676708e77963.tar.xz |
bugfix: correctly handle s6-svc -X
Diffstat (limited to 'src')
-rw-r--r-- | src/supervision/s6-supervise.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/supervision/s6-supervise.c b/src/supervision/s6-supervise.c index bdc4730..6dd815e 100644 --- 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])() ; } } } |