some bug fix

This commit is contained in:
levasseur
2021-09-08 18:23:34 +02:00
parent 9aa7244824
commit e93a3b9ed6
3 changed files with 9 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ conf_mail()
precheck_conf_mail()
{
if [[ -n $MAINDOM ]]; then
if [[ -z $MAINDOM ]]; then
prnt E "Aucun domaine principal renseigné."
die 158
fi