summaryrefslogtreecommitdiff
path: root/runit/runsv.c
diff options
context:
space:
mode:
Diffstat (limited to 'runit/runsv.c')
-rw-r--r--runit/runsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runsv.c b/runit/runsv.c
index ad8d84f..3e1a3c8 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -172,7 +172,7 @@ static void update_status(struct svdir *s)
}
close(fd);
if (rename_or_warn("supervise/pid.new",
- s->islog ? "log/supervise/pid" : "log/supervise/pid"+4))
+ s->islog ? "log/supervise/pid" : "log/supervise/pid"+4))
return;
pidchanged = 0;
}