2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-17 13:13:18 +00:00

Fix pid file behavior on exit

Previous change failed to correct the sense of the 'doexit'
function.
This commit is contained in:
Jarrod Johnson 2015-10-15 09:39:44 -04:00
parent d4828b2115
commit 2c2884f80f

View File

@ -121,7 +121,7 @@ def terminate(signalname, frame):
def doexit():
if havefcntl:
if not havefcntl:
return
pidfile = open('/var/run/confluent/pid')
pid = pidfile.read()