projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1fa361
)
ldap: Add a warning when using restart with the ldapsearch method.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 1 Jan 2009 12:38:07 +0000
(13:38 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 1 Jan 2009 12:38:07 +0000
(13:38 +0100)
handlers/ldap.in
patch
|
blob
|
history
diff --git
a/handlers/ldap.in
b/handlers/ldap.in
index c667ce55e24541ef31ae317b2fbfcb1bd3058ab6..83d6a6f73a2aac025d956ac57694838f5ad0b242 100644
(file)
--- a/
handlers/ldap.in
+++ b/
handlers/ldap.in
@@
-40,6
+40,8
@@
else
[ -z "$vsnames" ] || warning 'vservers support disabled in backupninja.conf, vsnames configuration line will be ignored'
fi
+[ "$restart" = yes -a "$method" = ldapsearch ] && warning 'restart option should not be used with the ldapsearch method.'
+
status="ok"
make_backup() {