From da258d31b818146df1e9b03948f636ef646c1ff6 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 27 Jun 2021 19:45:57 -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 e3792d99..f972fa60 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1429,7 +1429,7 @@ SERVICE(){ fi GO=true; - if [ "${2}" = "gitea" ]; then + if [ "${1}" == "gitea" ]; then if [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *10.5.10.120* ]]; then GO=false; fi