Commit f7e436d0 authored by Christophe Mathias's avatar Christophe Mathias
Browse files

fix: check that SMTP var has a value

parent ad8bf9b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ variables:
    fi
    log_info "dd_product_pk: ${dd_product_pk}"

    if [[ -z "$DEFECTDOJO_SMTP_SERVER" ]]; then
    if [[ ! -z "$DEFECTDOJO_SMTP_SERVER" ]]; then
      prepare_mail_template
    fi