summaryrefslogtreecommitdiffstats
path: root/gogs.go
diff options
context:
space:
mode:
Diffstat (limited to 'gogs.go')
-rw-r--r--gogs.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/gogs.go b/gogs.go
index cf097a3a0f..6865e1f213 100644
--- a/gogs.go
+++ b/gogs.go
@@ -20,19 +20,19 @@ import (
// Test that go1.1 tag above is included in builds. main.go refers to this definition.
const go11tag = true
-const APP_VER = "0.0.5.0311"
+const APP_VER = "0.0.5.0313"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
}
func checkRunUser() bool {
- user, err := user.Current()
+ u, err := user.Current()
if err != nil {
// TODO: log
return false
}
- return user.Username == base.Cfg.MustValue("", "RUN_USER")
+ return u.Username == base.Cfg.MustValue("", "RUN_USER")
}
func main() {