mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:13:37 +03:00
show return code when run verbose
This commit is contained in:
parent
bd3bb70ee8
commit
713cb56fea
1 changed files with 5 additions and 1 deletions
|
|
@ -621,7 +621,11 @@ sub singletest {
|
|||
|
||||
if($errorcode || $res) {
|
||||
if($errorcode == $res) {
|
||||
if(!$short) {
|
||||
$errorcode =~ s/\n//;
|
||||
if($verbose) {
|
||||
print " received errorcode $errorcode OK";
|
||||
}
|
||||
elsif(!$short) {
|
||||
print " error OK";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue