diff options
author | Unknwon <u@gogs.io> | 2016-01-25 02:33:09 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-01-25 02:33:09 -0500 |
commit | 4ae7e64e2a99d677d6a30ff8e7ab4b846f73093c (patch) | |
tree | bd67dcfb647132e3baada2120a5bc4e3255dc6ef | |
parent | 7ef9a055886574655d9f2be70c957bc16bf30500 (diff) | |
parent | 863ff19e1f5f94288da7bdac23eeb3f3b4f2c547 (diff) | |
download | gitea-4ae7e64e2a99d677d6a30ff8e7ab4b846f73093c.tar.gz gitea-4ae7e64e2a99d677d6a30ff8e7ab4b846f73093c.zip |
Merge pull request #2467 from pdan/patch-1
Fixed forgotten err variable assignment
-rw-r--r-- | modules/setting/setting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index e719153ae2..fcb234add6 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -428,7 +428,7 @@ func NewContext() { log.Fatal(4, "Fail to map Markdown settings: %v", err) } else if err = Cfg.Section("git").MapTo(&Git); err != nil { log.Fatal(4, "Fail to map Git settings: %v", err) - } else if Cfg.Section("cron").MapTo(&Cron); err != nil { + } else if err = Cfg.Section("cron").MapTo(&Cron); err != nil { log.Fatal(4, "Fail to map Cron settings: %v", err) } |