return True for export on secondary plcs
Thierry Parmentelat [Thu, 5 Jul 2012 13:15:04 +0000 (15:15 +0200)]
system/TestPlc.py

index 9cad404..090014d 100644 (file)
@@ -397,7 +397,7 @@ class TestPlc:
         # guess local domain from hostname
         if TestPlc.exported_id>1: 
             print "export GUESTHOSTNAME%d=%s"%(TestPlc.exported_id,self.plc_spec['vservername'])
-            return
+            return True
         TestPlc.exported_id+=1
         domain=socket.gethostname().split('.',1)[1]
         fqdn="%s.%s"%(self.plc_spec['host_box'],domain)