diff --git a/pkg/haproxy/process/direct-control.go b/pkg/haproxy/process/direct-control.go index b277ffec..6270eb1b 100644 --- a/pkg/haproxy/process/direct-control.go +++ b/pkg/haproxy/process/direct-control.go @@ -73,7 +73,7 @@ func (d *directControl) Service(action string) (err error) { } cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr - return cmd.Start() + return cmd.Run() default: return fmt.Errorf("unknown command '%s'", action) }