we aren't the leader all the time.

This commit is contained in:
benoitc 2010-11-10 19:02:37 +01:00
parent fc96d45838
commit f29c610916

View File

@ -111,10 +111,8 @@ class Application(object):
try: try:
os.setpgrp() os.setpgrp()
except OSError, e: except OSError, e:
if e[0] == errno.EPERM: if e[0] != errno.EPERM:
sys.stderr.write("Error: You should use " raise
"daemon mode here.\n")
raise
self.configure_logging() self.configure_logging()
try: try: