You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/cmd
Allen Wild 2186a99c76 cmd/serv: actually exit after fatal errors (#7458)
Regression in 356854fc5f, where
a log.Fatal call was removed. log.Fatal calls os.Exit(1) as intended,
but without it the fail() function returns normally and execution
continues past the fatal error, causing a panic.

This is visible as a go panic log and stack trace returned to the SSH
client, which is not only ugly, it leaks server and build system
information.

Fix by removing the stray return statement so that the fail() function
always calls os.Exit(1).

Fixes: https://github.com/go-gitea/gitea/issues/7457
Signed-off-by: Allen Wild <allenwild93@gmail.com>
6 years ago
..
admin.go Add CLI commands to manage LDAP authentication source (#6681) 6 years ago
admin_auth_ldap.go Add CLI commands to manage LDAP authentication source (#6681) 6 years ago
admin_auth_ldap_test.go Add CLI commands to manage LDAP authentication source (#6681) 6 years ago
cert.go Add golangci (#6418) 6 years ago
cmd.go
convert.go Add command to convert mysql database from utf8 to utf8mb4 (#7144) 6 years ago
dump.go Change verbose flag in dump command to avoid colliding with global version flag (#6822) 6 years ago
generate.go Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826) 6 years ago
hook.go #6946 Run hooks on merge/edit and cope with protected branches (#6961) 6 years ago
keys.go
migrate.go
serv.go cmd/serv: actually exit after fatal errors (#7458) 6 years ago
web.go Use certmanager provided TLSConfig for LetsEncrypt (#7229) 6 years ago
web_graceful.go
web_windows.go