From 708d140f158178358793137a7756f8cb445a117f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 8 Nov 2023 21:25:19 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 4086bccd..6cfac8a6 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -715,8 +715,11 @@ DOWNLIST(){ else echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}" DIVIDER false yellow 95 - [ "${1}" == "ignore" ] && ignsel=" " || ignsel="" - echo -e "${idsCL[Yellow]}${ignsel}Service/Host Host Down_Time${idsCL[Default]}" + if [ "${1}" != "ignore" ]; then + echo -e "${idsCL[Yellow]}Service/Host Host Down_Time${idsCL[Default]}" + else + echo -e "${idsCL[Yellow]} Service/Host Host Down_Time Notifications${idsCL[Default]}" + fi DIVIDER false yellow 95 cw=50; cw2=65; is=1;