diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-08-02 01:43:02 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-08-02 01:43:02 +0000 |
commit | cabbd0c9ca318c55e45af5a9aa0d01fce936ccd4 (patch) | |
tree | 3abd09f99b5bfbb576e7e7f802377eece014e0d9 /fetchmailconf.py | |
parent | cde688898f9d627abfe0ace51b8548d2ecc006f3 (diff) | |
download | fetchmail-cabbd0c9ca318c55e45af5a9aa0d01fce936ccd4.tar.gz fetchmail-cabbd0c9ca318c55e45af5a9aa0d01fce936ccd4.tar.bz2 fetchmail-cabbd0c9ca318c55e45af5a9aa0d01fce936ccd4.zip |
Only run fetchmail --configdump if umask succeeded.
svn path=/trunk/; revision=4222
Diffstat (limited to 'fetchmailconf.py')
-rwxr-xr-x | fetchmailconf.py | 4 |
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) |