[Zodb-checkins] CVS: Zope/lib/python/zdaemon - zdctl.py:1.48
Chris McDonough
chrism at plope.com
Wed Feb 18 16:43:52 EST 2004
Update of /cvs-repository/Zope/lib/python/zdaemon
In directory cvs.zope.org:/tmp/cvs-serv30185
Modified Files:
zdctl.py
Log Message:
Fix for http://zope.org/Collectors/Zope/1235 ("zopectl reliably dumps a traceback when used to start in daemon mode ("zopectl -d start")
=== Zope/lib/python/zdaemon/zdctl.py 1.47 => 1.48 ===
--- Zope/lib/python/zdaemon/zdctl.py:1.47 Wed Jan 14 10:28:07 2004
+++ Zope/lib/python/zdaemon/zdctl.py Wed Feb 18 16:43:49 2004
@@ -208,9 +208,9 @@
args += self._get_override("-z", "directory")
args.extend(self.options.program)
if self.options.daemon:
- flag = os.P_WAIT
- else:
flag = os.P_NOWAIT
+ else:
+ flag = os.P_WAIT
os.spawnvp(flag, args[0], args)
elif not self.zd_pid:
self.send_action("start")
More information about the Zodb-checkins
mailing list