Commit 50d8f19c authored by Christophe Mathias's avatar Christophe Mathias
Browse files

fix: check that SMTP var is defined

parent f7e436d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ variables:
    log_info "jq installed"

    # Download and configure SSMTP if we are sending mails
    if [[ -z "$DEFECTDOJO_SMTP_SERVER" ]]; then
    if [[ ! -z "$DEFECTDOJO_SMTP_SERVER" ]]; then
      write_ssmtp_conf
    fi