| Revision: 2735
          http://selinux.svn.sourceforge.net/selinux/?rev=2735&view=rev
Author:   ssmalley
Date:     2008-01-23 06:18:22 -0800 (Wed, 23 Jan 2008)
Log Message:
-----------
Author: Daniel J Walsh
Email: dw...@re...
Subject: policycoreutils patch
Date: Fri, 11 Jan 2008 16:15:38 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Make sepolgen-ifgen return errors.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkeH3HkACgkQrlYvE4MpobNe3ACeN095D7eEMgV1K6YlWMtXX1ck
6JoAniapk+chTq3cOQ3kqWZbvYhwEAAf
=Eslh
-----END PGP SIGNATURE-----
Modified Paths:
--------------
    trunk/policycoreutils/audit2allow/sepolgen-ifgen
Modified: trunk/policycoreutils/audit2allow/sepolgen-ifgen
===================================================================
--- trunk/policycoreutils/audit2allow/sepolgen-ifgen	2008-01-23 14:13:23 UTC (rev 2734)
+++ trunk/policycoreutils/audit2allow/sepolgen-ifgen	2008-01-23 14:18:22 UTC (rev 2735)
@@ -80,7 +80,10 @@
     if_set.to_file(f)
     f.close()
 
-    return 0
+    if refparser.success:
+        return 0
+    else:
+        return 1
     
 if __name__ == "__main__":
     sys.exit(main())
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
 |