mirror of
https://github.com/smxi/inxi.git
synced 2025-01-31 18:12:21 +00:00
Smakl output fix for perl downloader
This commit is contained in:
parent
c92c33f718
commit
9e3595b4b4
2
inxi
2
inxi
|
@ -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=$?
|
||||||
|
if [[ "$data" != '' ]];then
|
||||||
echo "$data"
|
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
|
||||||
|
|
Loading…
Reference in a new issue