diff options
Diffstat (limited to 'b4/mbox.py')
-rw-r--r-- | b4/mbox.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -494,12 +494,14 @@ def main(cmdargs): threadmbox = b4.get_pi_thread_by_msgid(msgid, savefile, useproject=cmdargs.useproject, nocache=cmdargs.nocache) if threadmbox is None: + os.unlink(savefile) return else: if os.path.exists(cmdargs.localmbox): threadmbox = cmdargs.localmbox else: logger.critical('Mailbox %s does not exist', cmdargs.localmbox) + os.unlink(savefile) sys.exit(1) if threadmbox and cmdargs.checknewer: |