diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-16 21:57:43 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-11-16 21:57:43 +0000 |
commit | 1d18c381b68851ec63450f8199c4380157422f42 (patch) | |
tree | 8081cb04758574b1f9783a45592284eedbbcc518 /src | |
parent | 69075d8b479fd85bfea95a914ae3fa89c27fa586 (diff) | |
download | s6-1d18c381b68851ec63450f8199c4380157422f42.tar.xz |
bugfix: s6-permafailon exitcode initialization
Diffstat (limited to 'src')
-rw-r--r-- | src/supervision/s6-permafailon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervision/s6-permafailon.c b/src/supervision/s6-permafailon.c index 91df73d..6c012be 100644 --- 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 ; |