Daniel Gibbs před 10 roky
rodič
revize
b0257c7190
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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))
 		port=$((port + 1))
 	fi
 	fi
 
 
-	if [ -z "${queryport}" ]; then
+	if [ -n "${queryport}" ]; then
 		port="${queryport}"
 		port="${queryport}"
 	fi
 	fi