diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-07-21 09:42:03 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-07-21 09:42:03 +0000 |
commit | 62a87bb5d2176388907ed093d7e2bea2fe881890 (patch) | |
tree | c0dae64ddc347f99d5369bce6bc5ccbab534108f | |
parent | 66cdf55d28c8fc27ecdeb755c7dfb5ebe04d8cc2 (diff) | |
download | s6-rc-62a87bb5d2176388907ed093d7e2bea2fe881890.tar.xz |
Fix start of longruns
-rw-r--r-- | src/s6-rc/s6-rc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s6-rc/s6-rc.c b/src/s6-rc/s6-rc.c index 65673b3..82b4685 100644 --- a/src/s6-rc/s6-rc.c +++ b/src/s6-rc/s6-rc.c @@ -127,7 +127,7 @@ static pid_t start_longrun (unsigned int i, int h) strerr_warnwu2sys("access ", servicefn) ; } } - servicefn[livelen + 13 + svdlen] = 0 ; + servicefn[livelen + 9 + svdlen] = 0 ; fmt[uint32_fmt(fmt, db->services[i].timeout[h])] = 0 ; vfmt[uint_fmt(vfmt, verbosity)] = 0 ; if (dryrun[0]) |