diff -r 2854ff67dd37 -r 536da72d8f07 common/tools/ats/ats3_testdrop.pl --- a/common/tools/ats/ats3_testdrop.pl Wed Jun 10 12:35:58 2009 +0100 +++ b/common/tools/ats/ats3_testdrop.pl Wed Jun 10 12:40:05 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.