mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
we aren't the leader all the time.
This commit is contained in:
parent
fc96d45838
commit
f29c610916
@ -111,10 +111,8 @@ class Application(object):
|
||||
try:
|
||||
os.setpgrp()
|
||||
except OSError, e:
|
||||
if e[0] == errno.EPERM:
|
||||
sys.stderr.write("Error: You should use "
|
||||
"daemon mode here.\n")
|
||||
raise
|
||||
if e[0] != errno.EPERM:
|
||||
raise
|
||||
|
||||
self.configure_logging()
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user