1
0
mirror of https://github.com/byReqz/status.git synced 2024-11-21 15:23:15 +00:00

finishing touches

This commit is contained in:
Nils 2021-09-20 17:18:46 +02:00
parent 8bf526046b
commit a33429aa4b
Signed by: byreqz
GPG Key ID: 396A62D7D436749E

View File

@ -43,9 +43,10 @@ function get_ping {
ping_ms=""
fi
ping_results=""$ping_results"
$(printf "%-50s%s\n" ["$p]" "$ping_reach""$ping_ms")"
$(printf "%-50s%s\n" ["$p"] "$ping_reach""$ping_ms")"
}
printf [--------------------------------------------------------------------]
if [[ "$ping_hosts" != "none" ]];then
for p in "${ping_hosts[@]}";do
get_ping
@ -58,3 +59,4 @@ if [[ "$http_hosts" != "none" ]];then
done
echo -e "$http_results"
fi
echo [--------------------------------------------------------------------]