aboutsummaryrefslogtreecommitdiffstats
path: root/services/mailer/mailer.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/mailer/mailer.go')
-rw-r--r--services/mailer/mailer.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/mailer/mailer.go b/services/mailer/mailer.go
index 6d3f1d9e01..42d7d5ad5d 100644
--- a/services/mailer/mailer.go
+++ b/services/mailer/mailer.go
@@ -361,9 +361,8 @@ func (s *sendmailSender) Send(from string, to []string, msg io.WriterTo) error {
return err
} else if closeError != nil {
return closeError
- } else {
- return waitError
}
+ return waitError
}
// Sender sendmail mail sender