Skip to content

Commit

Permalink
Make GoLinter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
wneessen committed Mar 14, 2022
1 parent 54da622 commit ebd8f94
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,6 @@ func (m *Msg) WriteToSendmailWithContext(ctx context.Context, sp string, a ...st
return fmt.Errorf("could not start sendmail execution: %w", err)
}
_, err = m.Write(si)
_, err = si.Write([]byte(".\r\n"))
if err != nil {
_ = si.Close()
return fmt.Errorf("failed to write mail to buffer: %w", err)
Expand Down

0 comments on commit ebd8f94

Please sign in to comment.