From 79523de1dbb75350c9dad1fafd45021eae2d7358 Mon Sep 17 00:00:00 2001 From: Sadayuki Matsuno Date: Tue, 11 Oct 2016 12:21:43 +0900 Subject: [PATCH] fix readme --- README.ja.md | 4 ++-- README.md | 4 ++-- report/mail.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.ja.md b/README.ja.md index 79a1a004..c8c0921f 100644 --- a/README.ja.md +++ b/README.ja.md @@ -121,9 +121,9 @@ VulsはSSHパスワード認証をサポートしていない。SSH公開鍵鍵 Vulsセットアップに必要な以下のソフトウェアをインストールする。 - SQLite3 -- git v2 +- git - gcc -- go v1.6 +- go v1.6 or later - https://golang.org/doc/install ```bash diff --git a/README.md b/README.md index 1140e04b..756b675d 100644 --- a/README.md +++ b/README.md @@ -129,9 +129,9 @@ And also, SUDO with password is not supported for security reasons. So you have Vuls requires the following packages. - SQLite3 -- git v2 +- git - gcc -- go v1.6 +- go v1.6 or later - https://golang.org/doc/install ```bash diff --git a/report/mail.go b/report/mail.go index caa92adc..21803874 100644 --- a/report/mail.go +++ b/report/mail.go @@ -38,7 +38,7 @@ func (w MailWriter) Write(scanResults []models.ScanResult) (err error) { cc := strings.Join(conf.Mail.Cc[:], ", ") mailAddresses := append(conf.Mail.To, conf.Mail.Cc...) if _, err := mail.ParseAddressList(strings.Join(mailAddresses[:], ", ")); err != nil { - return fmt.Errorf("Failed to parse mail addresses: %s", err) + return fmt.Errorf("Failed to parse email addresses: %s", err) } subject := fmt.Sprintf("%s%s %s", @@ -80,7 +80,7 @@ func (w MailWriter) Write(scanResults []models.ScanResult) (err error) { ) if err != nil { - return fmt.Errorf("Failed to send mails: %s", err) + return fmt.Errorf("Failed to send emails: %s", err) } } return nil