]> git.pld-linux.org Git - packages/SysVinit.git/blob - sysvinit-no-abort.patch
- does not require logrotate; rel 19
[packages/SysVinit.git] / sysvinit-no-abort.patch
1 diff -ru sysvinit-2.86/src/init.c sysvinit-2.86/src/init.c
2 --- sysvinit-2.86/src/init.c    2008-01-23 17:10:45.000000000 -0500
3 +++ sysvinit-2.86/src/init.c    2008-01-23 16:26:07.000000000 -0500
4 @@ -2671,7 +2671,7 @@
5                 maxproclen += strlen(argv[f]) + 1;
6         }
7  
8 -       if (getenv("SELINUX_INIT") == NULL) {
9 +       if (getenv("SELINUX_INIT") == NULL && !is_selinux_enabled()) {
10           putenv("SELINUX_INIT=YES");
11           if (selinux_init_load_policy(&enforce) == 0 ) {
12             execv(myname, argv);
This page took 0.027095 seconds and 3 git commands to generate.