fix readme
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user