made the non-matching error code output nicer since we know it is a number
and the string contains a newline...
This commit is contained in:
parent
b60dbfa9e9
commit
2c80bcbc81
@ -2318,7 +2318,7 @@ sub singletest {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(!$short) {
|
if(!$short) {
|
||||||
printf "\ncurl returned $cmdres, %s was expected\n", $errorcode;
|
printf "\ncurl returned $cmdres, %d was expected\n", $errorcode;
|
||||||
}
|
}
|
||||||
logmsg " exit FAILED\n";
|
logmsg " exit FAILED\n";
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user