[Checkins] SVN: zc.sshtunnel/trunk/src/zc/sshtunnel/recipe.py First argument was being ignored

Matthew Wilkes matthew at matthewwilkes.co.uk
Wed Oct 22 07:47:07 EDT 2008


Log message for revision 92467:
  First argument was being ignored

Changed:
  U   zc.sshtunnel/trunk/src/zc/sshtunnel/recipe.py

-=-
Modified: zc.sshtunnel/trunk/src/zc/sshtunnel/recipe.py
===================================================================
--- zc.sshtunnel/trunk/src/zc/sshtunnel/recipe.py	2008-10-22 11:26:05 UTC (rev 92466)
+++ zc.sshtunnel/trunk/src/zc/sshtunnel/recipe.py	2008-10-22 11:47:04 UTC (rev 92467)
@@ -118,7 +118,7 @@
         if os.path.exists(pid_file):
             print "Pid file %s already exists" % pid_file
             return
-        os.execvp('ssh', ('-TnaxqNL'+specification,  via))
+        os.execlp('ssh', 'ssh', '-TnaxqNL'+specification, via)
     elif verb == 'status':
         if os.path.exists(pid_file):
             pid = int(open(pid_file).read().strip())



More information about the Checkins mailing list