summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-07-21 09:42:03 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-07-21 09:42:03 +0000
commit62a87bb5d2176388907ed093d7e2bea2fe881890 (patch)
treec0dae64ddc347f99d5369bce6bc5ccbab534108f /src
parent66cdf55d28c8fc27ecdeb755c7dfb5ebe04d8cc2 (diff)
downloads6-rc-62a87bb5d2176388907ed093d7e2bea2fe881890.tar.xz
Fix start of longruns
Diffstat (limited to 'src')
-rw-r--r--src/s6-rc/s6-rc.c2
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])