mirror of
https://github.com/smxi/inxi.git
synced 2025-04-12 04:39:13 +00:00
fixes to last downloader features
This commit is contained in:
parent
06dd61e8bf
commit
a0e372ad5a
1 changed files with 1 additions and 1 deletions
2
inxi
2
inxi
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue