summaryrefslogtreecommitdiff
path: root/source4/script/tests/win/vm_get_ip.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/tests/win/vm_get_ip.pl')
-rw-r--r--source4/script/tests/win/vm_get_ip.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/tests/win/vm_get_ip.pl b/source4/script/tests/win/vm_get_ip.pl
index ee04fe6a99..9286786155 100644
--- a/source4/script/tests/win/vm_get_ip.pl
+++ b/source4/script/tests/win/vm_get_ip.pl
@@ -19,7 +19,7 @@ sub check_error {
}
# Read in parameters from environment.
-my $vm_cfg_path = $ENV{'VM_CFG_PATH'};
+my $vm_cfg_path = $ENV{"$ARGV[0]"};
my $host_server_name = $ENV{'HOST_SERVER_NAME'};
my $host_server_port = $ENV{'HOST_SERVER_PORT'};
if (!defined($host_server_port)) {