[Zodb-checkins] CVS: Zope/lib/python/zdaemon - zdctl.py:1.43.14.3

Chris McDonough chrism at plope.com
Wed Feb 18 16:47:00 EST 2004


Update of /cvs-repository/Zope/lib/python/zdaemon
In directory cvs.zope.org:/tmp/cvs-serv30821

Modified Files:
      Tag: Zope-2_7-branch
	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.43.14.2 => 1.43.14.3 ===
--- Zope/lib/python/zdaemon/zdctl.py:1.43.14.2	Fri Oct 24 17:32:59 2003
+++ Zope/lib/python/zdaemon/zdctl.py	Wed Feb 18 16:46:59 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