diff --git a/inxi b/inxi index f8d6ae1..ec0a56a 100755 --- a/inxi +++ b/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; } }