Fix lint errors (#2547)

This commit is contained in:
Ethan Koenig authored and Lauris BH committed 2017-09-19 11:08:30 +03:00
1 parent d155d0e665
commit 4cb9394a97
9 files changed
+9 -41

No files matched your search

+1 -5
View File
@@ -599,11 +599,7 @@ func RewriteAllPublicKeys() error {
defer f.Close()
}
if err = os.Rename(tmpPath, fPath); err != nil {
return err
}
return nil
return os.Rename(tmpPath, fPath)
}
// ________ .__ ____ __.