don't write a pid file

This was likely used to avoid multiple instances but this is supported for
several years.

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2016-04-26 23:49:45 +02:00
parent 2fb2f840dc
commit 141abfdf50
1 changed files with 0 additions and 7 deletions

View File

@ -323,13 +323,6 @@ class OfflineImap:
self.config is supposed to have been correctly initialized
already."""
try:
pidfd = open(self.config.getmetadatadir() + "/pid", "w")
pidfd.write(str(os.getpid()) + "\n")
pidfd.close()
except:
pass
try:
# Honor CLI --account option, only.
# Accounts to sync are put into syncaccounts variable.