diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/msec/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/msec/config.py b/src/msec/config.py index 906f434..ff08b88 100755 --- a/src/msec/config.py +++ b/src/msec/config.py @@ -299,6 +299,7 @@ class MsecConfig: else: value = '"%s"' % value print("%s=%s" % (option, value), file=fd) + fd.close() return True # }}} @@ -392,6 +393,7 @@ class ExceptionConfig: self.log.debug("Skipping %s" % option) else: print("%s %s" % (option, value), file=fd) + fd.close() return True # }}} @@ -498,5 +500,6 @@ class PermConfig(MsecConfig): else: force = "" print("%s\t%s.%s\t%s%s\t%s" % (file, user, group, perm, force, acl), file=fd) + fd.close() return True # }}} |