Don't crash if LemonLDAP::NG is disabled

Ref: #30852
This commit is contained in:
Daniel Dehennin
2020-10-14 13:17:07 +02:00
parent 6be262c6fb
commit 04c73c223b
3 changed files with 18 additions and 18 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash
if [ $(CreoleGet activerLemon) = "oui" ];then
if [ $(CreoleGet activerLemon 'non') = 'oui' ]
then
. /usr/lib/eole/diagnose.sh
manager=$(CreoleGet managerWebName)
portal=$(CreoleGet authWebName)