mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-08 20:02:32 +01:00
fixed ldap handler not recognizing database suffix
This commit is contained in:
parent
a44229971b
commit
0c73bf6996
@ -13,6 +13,7 @@ version 0.9.5 -- unreleased
|
||||
. 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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user