Don't run pre start hooks in goroutine

This commit is contained in:
Jan-Lukas Else 2020-11-17 16:39:16 +01:00
parent bca9421147
commit 5fd1e20aff
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import (
func preStartHooks() {
for _, cmd := range appConfig.Hooks.PreStart {
go func(cmd string) {
func(cmd string) {
log.Println("Executing pre-start hook:", cmd)
executeCommand(cmd)
}(cmd)