summaryrefslogtreecommitdiffstats
path: root/cmd/serv.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/serv.go')
-rw-r--r--cmd/serv.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd/serv.go b/cmd/serv.go
index c0cb3cd50f..c1c8fd3a97 100644
--- a/cmd/serv.go
+++ b/cmd/serv.go
@@ -30,7 +30,6 @@ import (
)
const (
- accessDenied = "Repository does not exist or you do not have access"
lfsAuthenticateVerb = "git-lfs-authenticate"
)
@@ -67,7 +66,7 @@ func checkLFSVersion() {
}
func setup(logPath string) {
- log.DelLogger("console")
+ _ = log.DelLogger("console")
setting.NewContext()
checkLFSVersion()
}
@@ -112,7 +111,9 @@ func runServ(c *cli.Context) error {
}
if len(c.Args()) < 1 {
- cli.ShowSubcommandHelp(c)
+ if err := cli.ShowSubcommandHelp(c); err != nil {
+ fmt.Printf("error showing subcommand help: %v\n", err)
+ }
return nil
}