2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Merge pull request #42 from jjohnson42/fixpidfile

Fix pid file behavior on exit
This commit is contained in:
Jarrod Johnson 2015-10-15 09:44:35 -04:00
commit 31a191cb10

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()