Commit 9645f18f authored by Michael Kaufmann's avatar Michael Kaufmann
Browse files

runtests.pl: fix warning 'use of uninitialized value'

follow-up to a9a7b606

Closes #2428
parent a26d11b8
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -3909,7 +3909,8 @@ sub singletest {


    if((!$cmdhash{'option'}) || ($cmdhash{'option'} !~ /no-output/)) {
    if((!$cmdhash{'option'}) || ($cmdhash{'option'} !~ /no-output/)) {
        #We may slap on --output!
        #We may slap on --output!
        if (!@validstdout || $cmdhash{'option'} =~ /force-output/) {
        if (!@validstdout ||
                ($cmdhash{'option'} && $cmdhash{'option'} =~ /force-output/)) {
            $out=" --output $CURLOUT ";
            $out=" --output $CURLOUT ";
        }
        }
    }
    }