summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ca668f2..698b52e 100644
--- a/src/s6-rc/s6-rc.c
+++ b/src/s6-rc/s6-rc.c
@@ -141,7 +141,7 @@ static pid_t start_longrun (unsigned int i, int h)
}
}
servicefn[livelen + 9 + svdlen] = 0 ;
- fmt[uint32_fmt(fmt, compute_timeout(i, h))] = 0 ;
+ fmt[uint32_fmt(fmt, compute_timeout(i, !!h))] = 0 ;
vfmt[uint_fmt(vfmt, verbosity)] = 0 ;
if (dryrun[0])
{