From 46e3de5d542ccc2071fba79f9ce358811f57689e Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 23 Mar 2014 04:56:01 -0400 Subject: [PATCH] Bug fix --- doc/conf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.go b/doc/conf.go index 610da82d9..590afafd6 100644 --- a/doc/conf.go +++ b/doc/conf.go @@ -59,7 +59,7 @@ func init() { } } Cfg, err = goconfig.LoadConfigFile(cfgPath) - if _, err = os.Create(cfgPath); err != nil { + if err != nil { log.Error("", "Fail to load gopm config file") log.Fatal("", err.Error()) }