summaryrefslogtreecommitdiff
path: root/dev/run
diff options
context:
space:
mode:
Diffstat (limited to 'dev/run')
-rwxr-xr-xdev/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/run b/dev/run
index 0c77707ef..2984c5c73 100755
--- a/dev/run
+++ b/dev/run
@@ -367,7 +367,7 @@ def get_ports(ctx, idnode):
def get_available_ports(num):
ports = []
- while len(ports) < num:
+ while len(ports) < num + 1:
with contextlib.closing(
socket.socket(socket.AF_INET, socket.SOCK_STREAM)
) as soc: