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:
parent
9a9f35039e
commit
75585f771a
@ -2370,7 +2370,8 @@ sub singletest {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(!$short) {
|
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";
|
logmsg " exit FAILED\n";
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user