projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54cf511
)
runsv: add missing {}
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 18 Feb 2007 11:07:43 +0000
(11:07 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 18 Feb 2007 11:07:43 +0000
(11:07 -0000)
runit/runsv.c
patch
|
blob
|
history
diff --git
a/runit/runsv.c
b/runit/runsv.c
index 246c502856637b23f1991ffebfdfa34bedbd2309..4a71ae96609a8b11670169cddb7b168a648b2426 100644
(file)
--- a/
runit/runsv.c
+++ b/
runit/runsv.c
@@
-553,7
+553,7
@@
int runsv_main(int argc, char **argv)
svd[0].pid = 0;
pidchanged = 1;
svd[0].ctrl &=~C_TERM;
- if (svd[0].state != S_FINISH)
+ if (svd[0].state != S_FINISH)
{
fd = open_read("finish");
if (fd != -1) {
close(fd);
@@
-561,6
+561,7
@@
int runsv_main(int argc, char **argv)
update_status(&svd[0]);
continue;
}
+ }
svd[0].state = S_DOWN;
taia_uint(&deadline, 1);
taia_add(&deadline, &svd[0].start, &deadline);