X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fldap.in;h=83d6a6f73a2aac025d956ac57694838f5ad0b242;hb=02d453979b6d78bb1e6a27bfb731133611132371;hp=c667ce55e24541ef31ae317b2fbfcb1bd3058ab6;hpb=f1fa36165a9160da7ddd0f0a9647d238e731e65f;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/ldap.in b/handlers/ldap.in index c667ce5..83d6a6f 100644 --- 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() {