diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-09-12 15:34:54 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-09-12 15:34:54 +0000 |
commit | 2ff7dfc857e7362d14522ca176e983ec2d6a15e7 (patch) | |
tree | 951fd22ee032ddd3d03a125f376e26f29cd3a3cb /src/supervision/s6-supervise.c | |
parent | e6fc9ae2bc49838760d1a5f072bcc70bbd900f21 (diff) | |
download | s6-2ff7dfc857e7362d14522ca176e983ec2d6a15e7.tar.gz s6-2ff7dfc857e7362d14522ca176e983ec2d6a15e7.tar.xz s6-2ff7dfc857e7362d14522ca176e983ec2d6a15e7.zip |
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/supervision/s6-supervise.c')
-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 c0a3edb..deed9e5 100644 --- a/src/supervision/s6-supervise.c +++ b/src/supervision/s6-supervise.c @@ -291,8 +291,8 @@ static void trystart (void) [1] = { .type = CSPAWN_FA_MOVE }, } ; char lkfmt[UINT_FMT] ; - char const *cargv[7] = { S6_BINPREFIX "s6-setlock", "-d", lkfmt, "--", "./run", servicename, 0 } ; - size_t orig = 4 ; + char const *cargv[8] = { S6_BINPREFIX "s6-setlock", "-d", lkfmt, "--", SLCK, "./run", servicename, 0 } ; + size_t orig = 5 ; int notifyp[2] = { -1, -1 } ; unsigned int lk = 0, notif = 0 ; |