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