mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
fixes to last downloader features
This commit is contained in:
parent
06dd61e8bf
commit
a0e372ad5a
2
inxi
2
inxi
|
@ -1964,7 +1964,7 @@ sub download_file {
|
||||||
elsif ( $dl{'dl'} eq 'wget' && $type eq 'spider'){
|
elsif ( $dl{'dl'} eq 'wget' && $type eq 'spider'){
|
||||||
$cmd = "$dl{'dl'} $dl{'no-ssl-opt'} $timeout $dl{'spider'} $url";
|
$cmd = "$dl{'dl'} $dl{'no-ssl-opt'} $timeout $dl{'spider'} $url";
|
||||||
system($cmd);
|
system($cmd);
|
||||||
$result = $?;
|
$result = ($?) ? 0 : 1; # reverse these into Perl t/f
|
||||||
$debug_data = $result;
|
$debug_data = $result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue