diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-11 17:20:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-11 17:20:00 +0000 |
commit | f7996f3b700a22797565e9aa57e251e6e3ac1e4d (patch) | |
tree | af4e797eef0a65f4e3dba94b325da0ec08452d36 /runit/runsv.c | |
parent | 3821fb13ea404d243115ff8ec161273b62826513 (diff) | |
download | busybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.gz busybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.bz2 busybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.zip |
Trailing whitespace removal over entire tree
Diffstat (limited to 'runit/runsv.c')
-rw-r--r-- | runit/runsv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runit/runsv.c b/runit/runsv.c index 9e117fe0a..aace041a8 100644 --- a/runit/runsv.c +++ b/runit/runsv.c | |||
@@ -300,7 +300,7 @@ static void startservice(struct svdir *s) | |||
300 | fatal_cannot("setup filedescriptor for ./log/run"); | 300 | fatal_cannot("setup filedescriptor for ./log/run"); |
301 | close(logpipe[1]); | 301 | close(logpipe[1]); |
302 | if (chdir("./log") == -1) | 302 | if (chdir("./log") == -1) |
303 | fatal_cannot("change directory to ./log"); | 303 | fatal_cannot("change directory to ./log"); |
304 | } else { | 304 | } else { |
305 | if (fd_copy(1, logpipe[1]) == -1) | 305 | if (fd_copy(1, logpipe[1]) == -1) |
306 | fatal_cannot("setup filedescriptor for ./run"); | 306 | fatal_cannot("setup filedescriptor for ./run"); |
@@ -405,7 +405,7 @@ int runsv_main(int argc, char **argv) | |||
405 | coe(selfpipe[1]); | 405 | coe(selfpipe[1]); |
406 | ndelay_on(selfpipe[0]); | 406 | ndelay_on(selfpipe[0]); |
407 | ndelay_on(selfpipe[1]); | 407 | ndelay_on(selfpipe[1]); |
408 | 408 | ||
409 | sig_block(sig_child); | 409 | sig_block(sig_child); |
410 | sig_catch(sig_child, s_child); | 410 | sig_catch(sig_child, s_child); |
411 | sig_block(sig_term); | 411 | sig_block(sig_term); |
@@ -544,7 +544,7 @@ int runsv_main(int argc, char **argv) | |||
544 | for (;;) { | 544 | for (;;) { |
545 | int child; | 545 | int child; |
546 | int wstat; | 546 | int wstat; |
547 | 547 | ||
548 | child = wait_nohang(&wstat); | 548 | child = wait_nohang(&wstat); |
549 | if (!child) break; | 549 | if (!child) break; |
550 | if ((child == -1) && (errno != EINTR)) break; | 550 | if ((child == -1) && (errno != EINTR)) break; |