From 95306197ac6590ba05373d15438fb886ac69f65a Mon Sep 17 00:00:00 2001 From: Nils Date: Mon, 20 Sep 2021 18:16:15 +0200 Subject: [PATCH] add headlines --- status.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/status.sh b/status.sh index 52ed5d5..75681c1 100755 --- a/status.sh +++ b/status.sh @@ -48,12 +48,16 @@ function get_ping { printf [--------------------------------------------------------------------] if [[ "$ping_hosts" != "none" ]];then + echo "" + printf "\e[1;4mPing Hosts:\e[0m" for p in "${ping_hosts[@]}";do get_ping done echo -e "$ping_results" fi if [[ "$http_hosts" != "none" ]];then + echo "" + printf "\e[1;4mHTTP Hosts:\e[0m" for h in "${http_hosts[@]}";do get_code done