Fix PID file if not daemonized
This commit is contained in:
parent
e9b1aa48a9
commit
bcc5a210a4
|
@ -31,7 +31,7 @@ class singleinstance:
|
||||||
import bitmessageqt
|
import bitmessageqt
|
||||||
bitmessageqt.init()
|
bitmessageqt.init()
|
||||||
|
|
||||||
self.lock()
|
self.lock(not daemon)
|
||||||
|
|
||||||
self.initialized = True
|
self.initialized = True
|
||||||
atexit.register(self.cleanup)
|
atexit.register(self.cleanup)
|
||||||
|
|
Reference in New Issue
Block a user