diff --git a/offlineimap/init.py b/offlineimap/init.py index ca09919..8485511 100644 --- a/offlineimap/init.py +++ b/offlineimap/init.py @@ -133,7 +133,7 @@ def startup(versionno): try: pidfd = open(config.getmetadatadir() + "/pid", "w") - pidfd.write(os.getpid()) + pidfd.write(str(os.getpid()) + "\n") pidfd.close() except: pass