diff --git a/api/main.go b/api/main.go index 8030752..79e98a5 100644 --- a/api/main.go +++ b/api/main.go @@ -9,7 +9,7 @@ func main() { exitIfError(smtpTemplatesLoad()) exitIfError(oauthConfigure()) exitIfError(markdownRendererCreate()) - exitIfError(setupSigintCleanup()) + exitIfError(sigintCleanupSetup()) exitIfError(serveRoutes()) } diff --git a/api/sigint.go b/api/sigint.go index 5b91edf..64b8e29 100644 --- a/api/sigint.go +++ b/api/sigint.go @@ -11,7 +11,7 @@ func sigintCleanup() int { return 0 } -func setupSigintCleanup() error { +func sigintCleanupSetup() error { logger.Infof("setting up SIGINT cleanup") c := make(chan os.Signal)