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)
|
os.kill(wpid, 0)
|
||||||
return wpid
|
return wpid
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
|
if e.args[0] == errno.EPERM:
|
||||||
|
return wpid
|
||||||
if e.args[0] == errno.ESRCH:
|
if e.args[0] == errno.ESRCH:
|
||||||
return
|
return
|
||||||
raise
|
raise
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user