]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix bug on killLocalPort when launching salome.
authorageay <ageay>
Fri, 26 Nov 2004 12:54:49 +0000 (12:54 +0000)
committerageay <ageay>
Fri, 26 Nov 2004 12:54:49 +0000 (12:54 +0000)
bin/runSalome.py

index 3ef4833318b9998ba587cff70c000105ac4625f7..cd8f45b127b462a9095a242459dde9f96737751d 100755 (executable)
@@ -176,7 +176,7 @@ def set_env(args, modules_list, modules_root_dir):
 
 from killSalome import killAllPorts
 
-def killLocalPort():
+def killLocalPort(args):
     """
     kill servers from a previous SALOME exection, if needed,
     on the same CORBA port
@@ -202,7 +202,7 @@ def kill_salome(args):
     if args['killall']:
         killAllPorts()
     elif args['portkill']:
-        killLocalPort()
+        killLocalPort(args)
        
 # -----------------------------------------------------------------------------
 #