[Zope-Checkins] CVS: ZODB3/zdaemon - zdrun.py:1.6

Guido van Rossum guido@python.org
Tue, 21 Jan 2003 13:51:16 -0500


Update of /cvs-repository/ZODB3/zdaemon
In directory cvs.zope.org:/tmp/cvs-serv13380

Modified Files:
	zdrun.py 
Log Message:
Convert options.sockname to an absolute path, otherwise the cleanup
didn't work.


=== ZODB3/zdaemon/zdrun.py 1.5 => 1.6 ===
--- ZODB3/zdaemon/zdrun.py:1.5	Tue Jan 21 13:19:38 2003
+++ ZODB3/zdaemon/zdrun.py	Tue Jan 21 13:51:12 2003
@@ -97,6 +97,9 @@
             self.program = self.args
         if not self.program:
             self.usage("no program specified (use -C or positional args)")
+        if self.sockname:
+            # Convert socket name to absolute path
+            self.sockname = os.path.abspath(self.sockname)
 
 
 class Subprocess: