mirror of
https://github.com/smxi/inxi.git
synced 2025-09-02 02:29:11 +00:00
Smakl output fix for perl downloader
This commit is contained in:
parent
c92c33f718
commit
9e3595b4b4
1 changed files with 3 additions and 1 deletions
4
inxi
4
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
|
||||
|
|
Loading…
Add table
Reference in a new issue