mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Merge pull request #42 from jjohnson42/fixpidfile
Fix pid file behavior on exit
This commit is contained in:
commit
31a191cb10
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user