This commit is contained in:
inxi-svn 2008-11-13 23:19:59 +00:00
parent 5b4a3b8f94
commit 0eec869c41

4
inxi
View file

@ -2063,8 +2063,8 @@ print_extras_data()
local extras_data='' ip=''
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
ip='N/A'
fi