git-svn-id: http://code.autistici.org/svn/backupninja/trunk@506
758a04ac-41e6-0310-8a23-
8373a73cc35d
. Added quoting because it was needed to prevent shell expansion, broking the
toint function sometimes (Closes: Trac#11)
. Fixed reportspace option (Closes: Trac#10)
+ . Fixed ldap handler not recognizing database suffix (Closes: Trac#28)
handler changes
dup:
. Support duplicity >= 0.4.3 invocation syntax (--ssh-command option
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