mirror of
https://github.com/curl/curl.git
synced 2026-05-15 09:46:21 +03:00
runtests.pl: fix warning 'use of uninitialized value'
follow-up to a9a7b60
Closes #2428
This commit is contained in:
parent
a26d11b8e1
commit
9645f18f25
1 changed files with 2 additions and 1 deletions
|
|
@ -3909,7 +3909,8 @@ sub singletest {
|
|||
|
||||
if((!$cmdhash{'option'}) || ($cmdhash{'option'} !~ /no-output/)) {
|
||||
#We may slap on --output!
|
||||
if (!@validstdout || $cmdhash{'option'} =~ /force-output/) {
|
||||
if (!@validstdout ||
|
||||
($cmdhash{'option'} && $cmdhash{'option'} =~ /force-output/)) {
|
||||
$out=" --output $CURLOUT ";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue