]> git.pld-linux.org Git - packages/SysVinit.git/blob - sysvinit-console-open.patch
- does not require logrotate; rel 19
[packages/SysVinit.git] / sysvinit-console-open.patch
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.048275 seconds and 3 git commands to generate.