aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-07-31 15:40:41 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-07-31 15:40:41 +0000
commit508e72cdf639315693db5c3ce3e4a5cdd3fcfa1d (patch)
tree737e41e5124c4cd915844d66bcc5571dd71d546a
parentc2164dc54dbb61c1ac630434f04c2097451b4a48 (diff)
downloadmsec-508e72cdf639315693db5c3ce3e4a5cdd3fcfa1d.tar
msec-508e72cdf639315693db5c3ce3e4a5cdd3fcfa1d.tar.gz
msec-508e72cdf639315693db5c3ce3e4a5cdd3fcfa1d.tar.bz2
msec-508e72cdf639315693db5c3ce3e4a5cdd3fcfa1d.tar.xz
msec-508e72cdf639315693db5c3ce3e4a5cdd3fcfa1d.zip
correct the test for processing level.local.
-rwxr-xr-xshare/msec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/msec.py b/share/msec.py
index b02e2c1..4dfbbd7 100755
--- a/share/msec.py
+++ b/share/msec.py
@@ -246,7 +246,7 @@ FILE_CHECKS = {'CHECK_SECURITY' : ('no', 'yes', 'yes', 'yes', 'yes', 'yes',
for k in FILE_CHECKS.keys():
set_security_conf(k, FILE_CHECKS[k][level])
-if Config.get_config('nolocal', '0') == '1':
+if Config.get_config('nolocal', '0') == '0':
# load local customizations
CONFIG='/etc/security/msec/level.local'
if os.path.exists(CONFIG):