From 9e3595b4b469ec2749c4eb30d60bd1d40d14083d Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Sun, 26 Nov 2017 18:39:21 -0800 Subject: [PATCH] Smakl output fix for perl downloader --- inxi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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