aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmailconf
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-01-01 18:49:10 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-01-01 18:49:10 +0000
commitcd46961ec2a691ad01a60af6a40314ded4c27e88 (patch)
tree56feb457e8bacf2a1f8264858b95ff7d1277ad4d /fetchmailconf
parent74365ea56ca4d32a2e89410ef407327044096373 (diff)
downloadfetchmail-cd46961ec2a691ad01a60af6a40314ded4c27e88.tar.gz
fetchmail-cd46961ec2a691ad01a60af6a40314ded4c27e88.tar.bz2
fetchmail-cd46961ec2a691ad01a60af6a40314ded4c27e88.zip
This version is good.
svn path=/trunk/; revision=2309
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-xfetchmailconf2
1 files changed, 2 insertions, 0 deletions
diff --git a/fetchmailconf b/fetchmailconf
index aef75a72..090256ea 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -690,6 +690,8 @@ class ConfigurationEdit(Frame, MyWidget):
if fm:
fm.write("# Configuration created %s by fetchmailconf\n" % time.ctime(time.time()))
fm.write(`self.configuration`)
+ if self.outfile:
+ fm.close()
if fm != sys.stdout:
os.chmod(self.outfile, 0600)
self.quit()