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:
parent
d4828b2115
commit
2c2884f80f
@ -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…
x
Reference in New Issue
Block a user