mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
api: rename setupSigintCleanup
This commit is contained in:
@ -9,7 +9,7 @@ func main() {
|
|||||||
exitIfError(smtpTemplatesLoad())
|
exitIfError(smtpTemplatesLoad())
|
||||||
exitIfError(oauthConfigure())
|
exitIfError(oauthConfigure())
|
||||||
exitIfError(markdownRendererCreate())
|
exitIfError(markdownRendererCreate())
|
||||||
exitIfError(setupSigintCleanup())
|
exitIfError(sigintCleanupSetup())
|
||||||
|
|
||||||
exitIfError(serveRoutes())
|
exitIfError(serveRoutes())
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ func sigintCleanup() int {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func setupSigintCleanup() error {
|
func sigintCleanupSetup() error {
|
||||||
logger.Infof("setting up SIGINT cleanup")
|
logger.Infof("setting up SIGINT cleanup")
|
||||||
|
|
||||||
c := make(chan os.Signal)
|
c := make(chan os.Signal)
|
||||||
|
Reference in New Issue
Block a user