Daniel Gibbs пре 10 година
родитељ
комит
b0257c7190
1 измењених фајлова са 1 додато и 1 уклоњено
  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