diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-18 11:07:43 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-18 11:07:43 +0000 |
commit | d0762e3d52030aecaa0aa3c85cd1d85b24dab940 (patch) | |
tree | 697dffd94f47adcf3c26bdf0ec66729919a2505f | |
parent | 54cf511ce1286ce46f04e4cead085b4af829f179 (diff) | |
download | busybox-d0762e3d52030aecaa0aa3c85cd1d85b24dab940.tar.gz |
runsv: add missing {}
-rw-r--r-- | runit/runsv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runit/runsv.c b/runit/runsv.c index 246c50285..4a71ae966 100644 --- 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); |