From 2964b4f9cff48724c9f1337f428026c563781cce Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 22 Oct 2014 15:22:50 +0400 Subject: [PATCH] Fix a bug that salome does not start if launched with --port option --- bin/searchFreePort.py | 3 +++ 1 file changed, 3 insertions(+) mode change 100644 => 100755 bin/searchFreePort.py diff --git a/bin/searchFreePort.py b/bin/searchFreePort.py old mode 100644 new mode 100755 index 9b14fabdb..27e51dcb4 --- a/bin/searchFreePort.py +++ b/bin/searchFreePort.py @@ -132,6 +132,9 @@ def searchFreePort_withPortManager(queue, args={}, save_config=1, use_port=None) if port == use_port and port != -1: print "- OK" __setup_config(use_port, args, save_config) + queue.put([os.environ['OMNIORB_CONFIG'], + os.environ['NSPORT'], + os.environ['NSHOST']]) return else: print "- KO: port is busy" -- 2.39.2