Smakl output fix for perl downloader

This commit is contained in:
Harald Hope 2017-11-26 18:39:21 -08:00
parent c92c33f718
commit 9e3595b4b4

4
inxi
View file

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