[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

mock/src mock-helper.c,1.5,1.6



Author: katzj

Update of /cvs/fedora/mock/src
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12144/src

Modified Files:
	mock-helper.c 
Log Message:
don't do the libselinux preload if selinux is disabled


Index: mock-helper.c
===================================================================
RCS file: /cvs/fedora/mock/src/mock-helper.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mock-helper.c	17 Jun 2005 21:11:59 -0000	1.5
+++ mock-helper.c	23 Jun 2005 20:00:45 -0000	1.6
@@ -163,7 +163,7 @@
 
 #ifdef USE_SELINUX
   /* add LD_PRELOAD for our selinux lib if selinux is in use is set */
-  if (is_selinux_enabled() != -1)
+  if (is_selinux_enabled() > 0)
   {
     ld_preload = strdup("LD_PRELOAD=libselinux-mock.so");
     printf("adding ld_preload of %s\n", ld_preload);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]