summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/supervision/s6-supervise.c4
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 ;