1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

Fix name of tool shown upon error.

This commit is contained in:
Yang Tse 2009-05-11 01:16:28 +00:00
parent 9a9f35039e
commit 75585f771a

View File

@ -2370,7 +2370,8 @@ sub singletest {
}
else {
if(!$short) {
printf "\ncurl returned $cmdres, %d was expected\n", $errorcode;
printf("\n%s returned $cmdres, %d was expected\n",
(!$tool)?"curl":$tool, $errorcode);
}
logmsg " exit FAILED\n";
return 1;