]> git.pld-linux.org Git - packages/SysVinit.git/blame - sysvinit-console-open.patch
- does not require logrotate; rel 19
[packages/SysVinit.git] / sysvinit-console-open.patch
CommitLineData
8c09d4df
AM
1--- sysvinit-2.86/src/init.c.eieio 2006-08-10 15:34:23.000000000 -0400
2+++ sysvinit-2.86/src/init.c 2006-08-10 15:34:50.000000000 -0400
3@@ -531,8 +531,10 @@
4 /*
5 * Retry the open five times.
6 */
7- for(f = 0; f < 5; f++)
8+ for(f = 0; f < 5; f++) {
9 if ((fd = open(console_dev, m)) >= 0) break;
10+ usleep(100);
11+ }
12
13 if (fd < 0) return fd;
14
This page took 0.100723 seconds and 4 git commands to generate.