aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/msec/libmsec.py1
-rwxr-xr-xsrc/msec/msecperms.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/msec/libmsec.py b/src/msec/libmsec.py
index 77ba312..bb2b3ba 100755
--- a/src/msec/libmsec.py
+++ b/src/msec/libmsec.py
@@ -1854,7 +1854,6 @@ class PERMS:
else:
self.log.info(config.MODIFICATIONS_NOT_FOUND)
-
for file in self.files:
newperm, newuser, newgroup, force = self.files[file]
# are we in enforcing mode?
diff --git a/src/msec/msecperms.py b/src/msec/msecperms.py
index e6bbe20..b86ef26 100755
--- a/src/msec/msecperms.py
+++ b/src/msec/msecperms.py
@@ -145,7 +145,7 @@ if __name__ == "__main__":
changed_files = perm.check_perms(permconf)
# writing back changes
- perm.commit(really_commit=commit, enforce=force_level)
+ perm.commit(really_commit=commit, enforce=enforce)
# saving updated config
if force_level and commit:
if not permconf.save():