From 1f5d655d9ef93a655e4769618197855394a00e77 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 13 Dec 2023 18:57:30 -0500 Subject: [PATCH] syntax --- 80-Deploy_Netdata.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/80-Deploy_Netdata.sh b/80-Deploy_Netdata.sh index 981a701..501d670 100644 --- a/80-Deploy_Netdata.sh +++ b/80-Deploy_Netdata.sh @@ -8,7 +8,7 @@ source "$SCRIPTDIR/common/load-defaults.sh" printf "$COL_LIGHT_BLUE" "* Checking if system already has netdata installed" install_netdata=0 -if [[ ! service_exists netdata ]] +if ! service_exists netdata then printf "$COL_YELLOW" "** $HOSTNAME appears to not have the netdata service" install_netdata=$netdata_install