mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
runtests.pl: fix warning 'use of uninitialized value'
follow-up to a9a7b60 Closes #2428
This commit is contained in:
parent
a26d11b8e1
commit
9645f18f25
@ -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…
x
Reference in New Issue
Block a user