aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfetchmailconf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetchmailconf.py b/fetchmailconf.py
index ce493627..83e9ed7a 100755
--- a/fetchmailconf.py
+++ b/fetchmailconf.py
@@ -2044,9 +2044,9 @@ Usage: fetchmailconf [-d] [-f fetchmailrc]
# want crackers to snoop password information out of the tempfile.
tmpfile = tempfile.mktemp()
if rcfile:
- cmd = "umask 077; fetchmail -f " + rcfile + " --configdump --nosyslog >" + tmpfile
+ cmd = "umask 077 && fetchmail -f " + rcfile + " --configdump --nosyslog >" + tmpfile
else:
- cmd = "umask 077; fetchmail --configdump --nosyslog >" + tmpfile
+ cmd = "umask 077 && fetchmail --configdump --nosyslog >" + tmpfile
try:
s = os.system(cmd)