aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'handlers')
-rw-r--r--handlers/ldap.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/ldap.in b/handlers/ldap.in
index 4d9a335..f6f87c7 100644
--- a/handlers/ldap.in
+++ b/handlers/ldap.in
@@ -42,7 +42,7 @@ if [ "$ldif" == "yes" ]; then
fi
for db in $databases; do
- if [ `expr index "$dbnum" "="` == "0" ]; then
+ if [ `expr index "$db" "="` == "0" ]; then
# db is a number, get the suffix.
dbsuffix=${dbsuffixes[$db]/*:/}
else