diff --git a/hooks.go b/hooks.go index a38c448..6c2f493 100644 --- a/hooks.go +++ b/hooks.go @@ -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)