diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2016-03-29 15:24:49 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2016-03-29 15:24:49 +0200 |
commit | 8a5af0e4ec6507a0fff07b03d175ce3a8e87ef4e (patch) | |
tree | 65f4b7ffd837e7fbf8e89bcf810145c2864c2266 | |
parent | 14f41038b90d1d9c8cfa70c9d72f55f768989147 (diff) | |
download | ATCD-8a5af0e4ec6507a0fff07b03d175ce3a8e87ef4e.tar.gz |
Removed not needed variable
* TAO/orbsvcs/tests/ImplRepo/run_test.pl:
-rwxr-xr-x | TAO/orbsvcs/tests/ImplRepo/run_test.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/ImplRepo/run_test.pl b/TAO/orbsvcs/tests/ImplRepo/run_test.pl index 4666785922d..6f288b92c05 100755 --- a/TAO/orbsvcs/tests/ImplRepo/run_test.pl +++ b/TAO/orbsvcs/tests/ImplRepo/run_test.pl @@ -18,7 +18,6 @@ my $test_debug_level = '2'; my $num_srvr = 1; my $replica = 0; my $all_tests = 0; -my $server_pid = 0; foreach my $i (@ARGV) { if ($i eq '-debug') { @@ -3254,6 +3253,7 @@ sub get_server_pid { my $file = shift; my $pid = 0; + my $server_pid = 0; open (FILE, $file) or die "Can't open $file: $!"; while (<FILE>) { chomp; @@ -3261,7 +3261,7 @@ sub get_server_pid $server_pid = $pid if ($server_pid == 0); } close FILE; - return $pid; + return $server_pid; } sub signal_server |