common/tools/ats/ats3_testdrop.pl
changeset 139 7f5b4e3699cb
parent 134 039d0b7e56f3
--- a/common/tools/ats/ats3_testdrop.pl	Wed Jun 03 18:30:15 2009 +0100
+++ b/common/tools/ats/ats3_testdrop.pl	Thu Jun 04 11:41:08 2009 +0100
@@ -103,7 +103,7 @@
 $url .= "&schedule=$schedule", if (defined($schedule));
 # Post URL to server with cURL.
 my $curl_cmd = "curl \"$url\"";
-my $curl_response = `$curl_cmd 2>$1`;
+my $curl_response = `$curl_cmd 2>&1`;
 die("\nTest drop failed: $!\n"), if ($?);
 if ($curl_response =~ /(TEST_RUN_REF_ID=\d+)/) {
     #extract test run id from cURL response.