Explorar o código

Added missing "then"

Marvin Lehmann %!s(int64=9) %!d(string=hai) anos
pai
achega
4ab4218fbc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/install_config.sh

+ 1 - 1
lgsm/functions/install_config.sh

@@ -100,7 +100,7 @@ fn_dstconfig(){
 	if [ "sharding" == "false" ]; then 
 		sed -i "s/ISMASTER//g" "${servercfgfullpath}"
 		sed -d "/SHARDNAME/d" "${servercfgfullpath}"
-	elif [ "master" == "true" ];
+	elif [ "master" == "true" ]; then
 		sed -d "/SHARDNAME/d" "${servercfgfullpath}"
 	fi
 	# configure settings