s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit 1d18c381b68851ec63450f8199c4380157422f42
parent 69075d8b479fd85bfea95a914ae3fa89c27fa586
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Mon, 16 Nov 2020 21:57:43 +0000

 bugfix: s6-permafailon exitcode initialization

Diffstat:
MAUTHORS | 1+
Msrc/supervision/s6-permafailon.c | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/AUTHORS b/AUTHORS @@ -36,3 +36,4 @@ Thanks to: Mira Ressel <aranea@aixah.de> Eric Vidal <eric@obarun.org> Jens Rehsack <rehsack@gmail.com> + Xavier Stonestreet <xstonestreet@gmail.com> diff --git a/src/supervision/s6-permafailon.c b/src/supervision/s6-permafailon.c @@ -57,7 +57,7 @@ static void list_scan (char const *s, unsigned char *codes, sigset_t *sigs) int main (int argc, char const *const *argv, char const *const *envp) { - unsigned char codes[32] ; + unsigned char codes[32] = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" ; sigset_t sigs ; unsigned int total, seconds, n ; struct stat st ;