cosmétique
This commit is contained in:
1 parent
6022801a18
commit
15fcedb55d
1 file changed
+3
-1
+3
-1
@@ -273,8 +273,9 @@ searchDestroy() {
|
||||
ACTION_EN_COURS="Suppression d'un compte"
|
||||
DEL_AUTO=${1}
|
||||
DEL_MAIL=${2}
|
||||
if [ "${DEL_AUTO}" != "TRUE" ] && SCRIPT_ENCOURS="Manuel" || SCRIPT_ENCOURS="Auto"
|
||||
if [ "${DEL_AUTO}" != "TRUE" ]
|
||||
then
|
||||
SCRIPT_ENCOURS="Manuel"
|
||||
clear
|
||||
CHOIX_MAIL=""
|
||||
searchEmail
|
||||
@@ -288,6 +289,7 @@ searchDestroy() {
|
||||
echo "Domaine en cours : ${DOMAINE_EN_COURS}"
|
||||
echo "--------------------------------- SUPPRESION ----------------------------------------"
|
||||
else
|
||||
SCRIPT_ENCOURS="Auto"
|
||||
MAIL_SECOURS=$(ldapsearch -H ldap://${LDAP_IP} \
|
||||
-x -D "cn=${LDAP_ADMIN_USERNAME},${ldap_root}" \
|
||||
-w "${LDAP_ADMIN_PASSWORD}" \
|
||||
|
||||
Reference in new issue
Block a user