From 2ad68f2cef2d4d341703bf8ee1c2c1fef5110fb8 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 10 Mar 2025 22:58:06 -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 6a15a12b..155a0ee0 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 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]}"