]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix an error in killSalome.py
authoreap <eap@opencascade.com>
Tue, 9 Jul 2013 14:02:57 +0000 (14:02 +0000)
committereap <eap@opencascade.com>
Tue, 9 Jul 2013 14:02:57 +0000 (14:02 +0000)
bin/killSalomeWithPort.py

index acc541c2db19660f7ea640724e8311a796e3e060..84774cef326c011c1713c1d34f3e1a1c2c56c27b 100755 (executable)
@@ -148,6 +148,8 @@ def shutdownMyPort(port, cleanup=True):
     kwargs = {}
     if omniorbUserPath is not None:
         kwargs["with_username"]=True
+    else:
+        omniorbUserPath = os.path.realpath(os.path.expanduser('~'))
     omniorb_config = generateFileName(omniorbUserPath, prefix="omniORB",
                                       extension="cfg",
                                       hidden=True,