mirror of
https://github.com/curl/curl.git
synced 2026-06-02 01:54:39 +03:00
Fix name of tool shown upon error.
This commit is contained in:
parent
9a9f35039e
commit
75585f771a
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue