From 8988b85772169f7e9d366fc0f8e10e905dd383b2 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Thu, 9 Dec 2021 18:51:54 +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 590740a..d2719c1 100644 --- a/node_exporter.sh +++ b/node_exporter.sh @@ -43,7 +43,7 @@ EOF } #放行端口 -release_port{ +release_port(){ firewall-cmd --zone=public --add-port=29100/tcp --permanent firewall-cmd --reload }