Compare commits

..

No commits in common. "4ff77c52dc8313ff8a3b14406f0b230ae6e70a91" and "ef9cf17bdd943e38cf28c5abdcbace64f4547ef0" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -64,8 +64,6 @@ formatting() {
icons() {
CM="${TAB}✔️${TAB}"
CROSS="${TAB}✖️${TAB}"
DNSOK="✔️"
DNSFAIL="${TAB}✖️${TAB}"
INFO="${TAB}💡${TAB}${CL}"
OS="${TAB}🖥️${TAB}${CL}"
OSVERSION="${TAB}🌟${TAB}${CL}"

View File

@ -132,10 +132,10 @@ network_check() {
for HOST in "${GITHUB_HOSTS[@]}"; do
RESOLVEDIP=$(getent hosts "$HOST" | awk '{ print $1 }' | grep -E '(^([0-9]{1,3}\.){3}[0-9]{1,3}$)|(^[a-fA-F0-9:]+$)' | head -n1)
if [[ -z "$RESOLVEDIP" ]]; then
GITHUB_STATUS+="{$DNSFAIL} $HOST"
GITHUB_STATUS+="{✖️} $HOST"
DNS_FAILED=true
else
GITHUB_STATUS+="{$DNSOK} $HOST"
GITHUB_STATUS+="{✔️} $HOST"
fi
done