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:
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: