feat: add ping sends logger

This commit is contained in:
ttionya
2021-06-08 01:21:16 +08:00
parent 93cfda6e73
commit 6745079970
+5
View File
@@ -122,6 +122,11 @@ function send_ping() {
fi fi
wget "${PING_URL}" -T 10 -t 5 -O /dev/null -q wget "${PING_URL}" -T 10 -t 5 -O /dev/null -q
if [[ $? != 0 ]]; then
color red "ping sending failed"
else
color blue "ping send was successfully"
fi
} }
######################################## ########################################