From 432dfffc4d2a30b109ade6b0a4d2193694d49775 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Wed, 8 Oct 2003 21:15:53 +0000 Subject: use local_config --- share/msec.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'share') diff --git a/share/msec.py b/share/msec.py index f8a5289..7fdfee7 100755 --- a/share/msec.py +++ b/share/msec.py @@ -255,10 +255,12 @@ if Config.get_config('nolocal', '0') == '0': CONFIG='/etc/security/msec/level.local' if os.path.exists(CONFIG): interactive and log(_('Reading local rules from %s') % CONFIG) + local_config(1) try: eval_file(CONFIG) except: log(_('Error loading %s: %s') % (CONFIG, str(sys.exc_value))) + local_config(0) if Config.get_config('print', '0') == '1': print_changes() -- cgit v1.2.1