소스 검색

Added missing "then"

Marvin Lehmann 9 년 전
부모
커밋
4ab4218fbc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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