fixes to last downloader features

This commit is contained in:
Harald Hope 2018-03-21 01:35:32 -07:00
parent 06dd61e8bf
commit a0e372ad5a

2
inxi
View file

@ -1964,7 +1964,7 @@ sub download_file {
elsif ( $dl{'dl'} eq 'wget' && $type eq 'spider'){
$cmd = "$dl{'dl'} $dl{'no-ssl-opt'} $timeout $dl{'spider'} $url";
system($cmd);
$result = $?;
$result = ($?) ? 0 : 1; # reverse these into Perl t/f
$debug_data = $result;
}
}