From 4ab4218fbceb79f3a2097cb929d6469d6bbd1436 Mon Sep 17 00:00:00 2001 From: Marvin Lehmann Date: Fri, 11 Nov 2016 19:04:14 +0100 Subject: [PATCH] Added missing "then" --- lgsm/functions/install_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/install_config.sh b/lgsm/functions/install_config.sh index adfad2e90..d751fb3a1 100644 --- a/lgsm/functions/install_config.sh +++ b/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