]> git.pld-linux.org Git - packages/SysVinit.git/blame - sysvinit-no-abort.patch
- does not require logrotate; rel 19
[packages/SysVinit.git] / sysvinit-no-abort.patch
CommitLineData
8c09d4df
AM
1diff -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.05497 seconds and 4 git commands to generate.