summaryrefslogtreecommitdiff
path: root/vest
diff options
context:
space:
mode:
Diffstat (limited to 'vest')
-rwxr-xr-xvest/parallelize.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/vest/parallelize.pl b/vest/parallelize.pl
index e6bd8bf9..a47b7797 100755
--- a/vest/parallelize.pl
+++ b/vest/parallelize.pl
@@ -95,7 +95,7 @@ my $tryp=50;
my $port = 50300+int(rand($randp));
my $endp=$port+$tryp;
if ($verbose){ print STDERR "Testing port $port...";}
-while (`netstat -l 2>/dev/null | grep -q $port`){
+while (`netstat -ln 2>/dev/null | grep -q $port`){
if ($verbose){ print STDERR "port is busy\n";}
$port++;
if ($port > $endp){