Daniel Gibbs 10 лет назад
Родитель
Сommit
20fd5936fb
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      functions/info_config.sh

+ 3 - 3
functions/info_config.sh

@@ -207,7 +207,7 @@ elif [ "${engine}" == "realvirtuality" ]; then
 
 
     # query port
     # query port
     if [ "${port}" != "" ]; then
     if [ "${port}" != "" ]; then
-		queryport=$((port+1))
+		queryport=$((port + 1))
     fi
     fi
     if [ ! -n "${queryport}" ]; then
     if [ ! -n "${queryport}" ]; then
 		queryport="0"
 		queryport="0"
@@ -215,7 +215,7 @@ elif [ "${engine}" == "realvirtuality" ]; then
 
 
     # master port
     # master port
     if [ "${port}" != "" ]; then
     if [ "${port}" != "" ]; then
-		masterport=$((port+2))
+		masterport=$((port + 2))
     fi
     fi
     if [ ! -n "${masterport}" ]; then
     if [ ! -n "${masterport}" ]; then
 		masterport="0"
 		masterport="0"
@@ -274,7 +274,7 @@ elif [ "${engine}" == "seriousengine35" ]; then
 
 
 	# query port
 	# query port
 	if [ -f "${servercfgfullpath}" ]; then
 	if [ -f "${servercfgfullpath}" ]; then
-		queryport=$((${port} + 1))
+		queryport=$((port + 1))
 	fi
 	fi
 	if [ ! -n "${queryport}" ]; then
 	if [ ! -n "${queryport}" ]; then
 		queryport="0"
 		queryport="0"