mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
parent
22de9c5693
commit
d18a9cd12f
@ -75,6 +75,8 @@ class Pidfile(object):
|
||||
os.kill(wpid, 0)
|
||||
return wpid
|
||||
except OSError as e:
|
||||
if e.args[0] == errno.EPERM:
|
||||
return wpid
|
||||
if e.args[0] == errno.ESRCH:
|
||||
return
|
||||
raise
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user