aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-11-20 00:42:40 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-11-20 00:42:40 +0000
commit07c75f4894d00eef18df6660ce20fe75018d47dd (patch)
tree79a92287096d7ddac8fc72f2f63c7369e2bfedd2
parent58e2365d93206d32e4a401fcaa3434d4c7735ccf (diff)
downloadmsec-07c75f4894d00eef18df6660ce20fe75018d47dd.tar
msec-07c75f4894d00eef18df6660ce20fe75018d47dd.tar.gz
msec-07c75f4894d00eef18df6660ce20fe75018d47dd.tar.bz2
msec-07c75f4894d00eef18df6660ce20fe75018d47dd.tar.xz
msec-07c75f4894d00eef18df6660ce20fe75018d47dd.zip
Fixed a typo which broke msec --save functionality.
-rwxr-xr-xsrc/msec/msec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msec/msec.py b/src/msec/msec.py
index 879ec19..ab3affb 100755
--- a/src/msec/msec.py
+++ b/src/msec/msec.py
@@ -147,7 +147,7 @@ if __name__ == "__main__":
# saving current setting as new level
if save:
newlevel = config.MsecConfig(log, config=config.SECURITY_LEVEL % (root, level))
- newlevel.merge(permconf, overwrite=True)
+ newlevel.merge(msec_config, overwrite=True)
# update new level name
newlevel.set("BASE_LEVEL", level)
newlevel.save()