From 832f5c1a5cec35acf1c6e3d53116b092a971d227 Mon Sep 17 00:00:00 2001 From: alinmear Date: Sat, 18 Feb 2017 01:03:35 +0100 Subject: [PATCH] Fix typo in _setup_ldap --- target/start-mailserver.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index e7791637..d382adde 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -538,13 +538,12 @@ function _setup_dovecot_local_user() { function _setup_ldap() { notify 'task' 'Setting up Ldap' - declare -A _check_arr # cp config files if in place for i in 'users' 'groups' 'aliases'; do - fpath="/tmp/docker-mailserver/postfix-ldap-${i}.cf" + fpath="/tmp/docker-mailserver/ldap-${i}.cf" if [ -f $fpath ]; then - cp ${fpath} /etc/postfix/ldap-${i}.cf || _check_arr["cp_$fpath"]='1' + cp ${fpath} /etc/postfix/ldap-${i}.cf fi done