diff options
-rw-r--r-- | cmd/acme/file.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/acme/file.go b/cmd/acme/file.go index abd5a61..8b6b1a4 100644 --- a/cmd/acme/file.go +++ b/cmd/acme/file.go @@ -26,11 +26,7 @@ func saveKey(fname string, key crypto.PrivateKey) error { return err } defer fd.Close() - err = acme.SaveKey(fd, key) - if err != nil { - return err - } - return nil + return acme.SaveKey(fd, key) } func saveCrt(fname string, certs [][]byte) error { |