forgot to remove fileClose
This commit is contained in:
parent
ca2978318b
commit
967337a938
6
filer.go
6
filer.go
@ -6,12 +6,6 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
)
|
)
|
||||||
|
|
||||||
func closeFile(file *os.File, errorlist []error) {
|
|
||||||
err := file.Close()
|
|
||||||
if err != nil {
|
|
||||||
errorlist = append(errorlist, err)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func createIniFile(fpath string) []error {
|
func createIniFile(fpath string) []error {
|
||||||
log.Printf("Creating config file: %s\n", fpath)
|
log.Printf("Creating config file: %s\n", fpath)
|
||||||
|
Loading…
Reference in New Issue
Block a user