From 6145447d08b8e3197b74875681775f69641f8784 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 10 Mar 2025 22:59:15 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 155a0ee0..d669e256 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1198,7 +1198,7 @@ SKIP_SERVER_CHECKS(){ if [ "${1}" == "on" ] || ([ ! -f ${NM_TMPFOLDER}/.skip ] && [ "${1}" == "" ]); then touch ${NM_TMPFOLDER}/.skip echo -e "${idsCL[Yellow]}Server will be skipped from Node-Manager Status Checks${idsCL[Default]}" - if [ "$(systemctl is-active keepalived)" ]; then + if [ "$(systemctl is-active --quiet keepalived)" ]; then echo -en "${idsCL[Red]}Stopping${idsCL[LightCyan]} Keepalived ... ${idsCL[Default]}" systemctl stop keepalived >/dev/null 2>&1 echo -e "${idsCL[Green]}Done${idsCL[Default]}"