getIp 1.16.1

This commit is contained in:
kyodev 2017-12-05 15:19:01 +01:00
parent d1c4c4249d
commit a1771ba38b
2 changed files with 4 additions and 3 deletions

View File

@ -207,6 +207,7 @@ f__wget_test(){ # 5/12/2017
else
echo -e "$BLUE $1$STD\t$GREEN $retourHttp"
fi
echo "$STD"
fi
if [ "$2" == "print" ] || [ "$2" == "loc" ]; then
[ "$location" ] && echo -n "$YELLOW $location" || echo -n "$YELLOW no location"
@ -217,10 +218,10 @@ f__wget_test(){ # 5/12/2017
if [ "$retourWget" != "0" ]; then
rm "$file_test_wget" 2>/dev/null
# f__error "wget, $retourWget" "$1" "$YELLOW$retourHttp" "$location"
echo -e "$RED erreur wget, $retourWget \n $1 \n $YELLOW$retourHttp \n $location"
echo -e "$RED erreur wget, $retourWget \n $1 \n $YELLOW$retourHttp \n $location$STD"
fi
if [ "$(grep -c '200' <<< $retourHttp)" -ne 0 ]; then
echo -e "$GREEN\ntout est ok, réessayer\n$STD"
echo -e "$GREEN\ntout est ok, réessayer$STD\n"
fi
rm "$file_test_wget" 2>/dev/null
exit 0

View File

@ -9,7 +9,7 @@
---
## 1.16.0 5/12/2017
## 1.16.1 5/12/2017
* nouveau: option - ( ou -46 ), ipv4 & ipv6
* nouveau: prg_init