From df294be62e4733105ccca415369ac27c8ceb3a68 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Fri, 10 Dec 2021 10:31:56 +0800 Subject: [PATCH] fix bug --- node_exporter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_exporter.sh b/node_exporter.sh index 82f2539..f9ae607 100644 --- a/node_exporter.sh +++ b/node_exporter.sh @@ -52,7 +52,7 @@ release_port(){ if [ $? -eq 0 ] then firewall_status=$(firewall-cmd --state) - if[[ "firewall_status" == "running" ]] + if [[ "firewall_status" == "running" ]] then firewall-cmd --zone=public --add-port=29100/tcp --permanent firewall-cmd --reload