Commit 777e452f authored by Marco Mariani's avatar Marco Mariani

fixed parsing of ldap options with double colon (::)

parent 3e66dc88
......@@ -238,7 +238,7 @@ loadConfigKey() {
chown ${zimbra_uid} ${tmpfile}
if [ ! -s ${file} ]; then
echo -n "** Retrieving $location config key $key..."
( ${zimbra_home}/bin/zmprov -m -l -- ${zmprov_opts} ${key} | sed -e 's/^${key}: //' > ${tmpfile} 2> /dev/null ) && mv -f ${tmpfile} ${file}
( ${zimbra_home}/bin/zmprov -m -l -- ${zmprov_opts} ${key} | sed -e 's/^${key}::* //' > ${tmpfile} 2> /dev/null ) && mv -f ${tmpfile} ${file}
if [ $? = 0 -a -s "${file}" ]; then
echo "done."
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment