diff --git a/inxi b/inxi index 504b54a..f93467f 100755 --- a/inxi +++ b/inxi @@ -2460,7 +2460,9 @@ download_file() } get_file($ARGV[0],$ARGV[1],$ARGV[2]);' "$1" "$2" "$3" ) retvalue=$? - echo "$data" + if [[ "$data" != '' ]];then + echo "$data" + fi return $retvalue } #download_file 'stdout' 'https://smxi.org/ip' '';echo $?; exit