1
0
Fork 0

WTF os.IsExist

This commit is contained in:
Gregory Eremin 2015-01-19 18:21:29 +07:00
parent b02992c13d
commit e234dfaca4
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ func (cf *configFile) read() ([]byte, error) {
func (cf *configFile) isExist() bool {
_, err := os.Stat(cf.path)
return os.IsExist(err)
return (err == nil)
}
func (cf *configFile) mkdirp() error {