Correct failed to save CA certificate message (#399)

This commit is contained in:
Pei-Tang Huang 2022-04-26 23:51:39 +08:00 committed by GitHub
parent e4df8ab302
commit abde85bb26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -358,7 +358,7 @@ func (m *mkcert) newCA() {
err = ioutil.WriteFile(filepath.Join(m.CAROOT, rootName), pem.EncodeToMemory(
&pem.Block{Type: "CERTIFICATE", Bytes: cert}), 0644)
fatalIfErr(err, "failed to save CA key")
fatalIfErr(err, "failed to save CA certificate")
log.Printf("Created a new local CA 💥\n")
}