mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-05 20:35:38 +00:00
Fix pid file behavior on exit
Previous change failed to correct the sense of the 'doexit' function.
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user