projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
init: reduce delay after starting kmodloader
[project/procd.git]
/
initd
/
init.c
diff --git
a/initd/init.c
b/initd/init.c
index
9818c4f
..
4d17563
100644
(file)
--- a/
initd/init.c
+++ b/
initd/init.c
@@
-106,10
+106,10
@@
main(int argc, char **argv)
} else {
int i;
- for (i = 0; i < 120; i++) {
+ for (i = 0; i < 120
0
; i++) {
if (waitpid(pid, NULL, WNOHANG) > 0)
break;
-
sleep(1
);
+
usleep(10 * 1000
);
watchdog_ping();
}
}