mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
bug fix
This commit is contained in:
parent
5b4a3b8f94
commit
0eec869c41
2
inxi
2
inxi
|
@ -2064,7 +2064,7 @@ print_extras_data()
|
||||||
|
|
||||||
if [[ -n $( which lynx ) ]];then
|
if [[ -n $( which lynx ) ]];then
|
||||||
ip=$( lynx -dump techpatterns.com/ip | awk -F 'is: ' '{print $2}' )
|
ip=$( lynx -dump techpatterns.com/ip | awk -F 'is: ' '{print $2}' )
|
||||||
|
fi
|
||||||
if [[ -z $ip ]];then
|
if [[ -z $ip ]];then
|
||||||
ip='N/A'
|
ip='N/A'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue