forgot to remove fileClose

This commit is contained in:
Greg Gauthier 2021-03-17 13:49:29 +00:00
parent ca2978318b
commit 967337a938

View File

@ -6,12 +6,6 @@ import (
"path/filepath"
)
func closeFile(file *os.File, errorlist []error) {
err := file.Close()
if err != nil {
errorlist = append(errorlist, err)
}
}
func createIniFile(fpath string) []error {
log.Printf("Creating config file: %s\n", fpath)