Permalink
Browse files

we aren't the leader all the time.

  • Loading branch information...
benoitc committed Nov 10, 2010
1 parent fc96d45 commit f29c61091691135dcfae029a7eadf1663a06a73e
Showing with 2 additions and 4 deletions.
  1. +2 −4 gunicorn/app/base.py
View
@@ -111,10 +111,8 @@ def run(self):
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:

0 comments on commit f29c610

Please sign in to comment.