mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08:00
show return code when run verbose
This commit is contained in:
parent
bd3bb70ee8
commit
713cb56fea
@ -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…
x
Reference in New Issue
Block a user