aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2007-11-24 23:03:21 +0000
committerMicah Anderson <micah@riseup.net>2007-11-24 23:03:21 +0000
commit0c73bf699618f365acc5b796ac7d7689d6f9e530 (patch)
tree0b5ae3ada65986377306ddfc5c054ae05a06bec1 /handlers
parenta44229971b6ba800e444d8c11d18698e79682e17 (diff)
downloadbackupninja-0c73bf699618f365acc5b796ac7d7689d6f9e530.tar.gz
backupninja-0c73bf699618f365acc5b796ac7d7689d6f9e530.tar.bz2
fixed ldap handler not recognizing database suffix
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