Update so it compiles
Fixed issue 4 Fixed issue 8 Fixed issue 9 Fixed issue 10 Fixed issue 11
This commit is contained in:
parent
63d75cbe77
commit
f602e48a7b
5 changed files with 11 additions and 11 deletions
2
read.go
2
read.go
|
@ -13,7 +13,7 @@ import (
|
|||
func ReadConfigFile(fname string) (c *ConfigFile, err os.Error) {
|
||||
var file *os.File
|
||||
|
||||
if file, err = os.Open(fname, os.O_RDONLY, 0); err != nil {
|
||||
if file, err = os.Open(fname); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue