diff options
author | Pourya Daneshvar <pourya@daneshvar.me> | 2016-01-24 10:24:21 +0330 |
---|---|---|
committer | Pourya Daneshvar <pourya@daneshvar.me> | 2016-01-24 10:24:21 +0330 |
commit | 863ff19e1f5f94288da7bdac23eeb3f3b4f2c547 (patch) | |
tree | bd67dcfb647132e3baada2120a5bc4e3255dc6ef /modules/setting | |
parent | 7ef9a055886574655d9f2be70c957bc16bf30500 (diff) | |
download | gitea-863ff19e1f5f94288da7bdac23eeb3f3b4f2c547.tar.gz gitea-863ff19e1f5f94288da7bdac23eeb3f3b4f2c547.zip |
Fixed forgotten err variable assignment
Diffstat (limited to 'modules/setting')
-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) } |