Ver Fonte

incorrect if

Daniel Gibbs há 10 anos atrás
pai
commit
b0257c7190
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      lgsm/functions/monitor_gsquery.sh

+ 1 - 1
lgsm/functions/monitor_gsquery.sh

@@ -29,7 +29,7 @@ if [ "${gsquery}" == "yes" ]; then
 		port=$((port + 1))
 	fi
 
-	if [ -z "${queryport}" ]; then
+	if [ -n "${queryport}" ]; then
 		port="${queryport}"
 	fi