forgot to remove fileClose

versioning_for_gostations
Greg Gauthier 2 years ago
parent ca2978318b
commit 967337a938
  1. 6
      filer.go

@ -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)

Loading…
Cancel
Save