feat: add ping sends logger

This commit is contained in:
ttionya committed 2021-06-08 01:21:16 +08:00
1 parent 93cfda6e73
commit 6745079970
1 file changed
+5
+5
View File
@@ -122,6 +122,11 @@ function send_ping() {
fi
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
}
########################################