Skip to content

Commit 09f3af8

Browse files
ivanmatmatiMo3m3n
authored andcommitted
MINOR: fix zombie haproxy process in direct control mode
1 parent 3d42779 commit 09f3af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/haproxy/process/direct-control.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (d *directControl) HaproxyService(action string) (err error) {
5050
}
5151
cmd.Stdout = os.Stdout
5252
cmd.Stderr = os.Stderr
53-
return cmd.Start()
53+
return cmd.Run()
5454
case "stop":
5555
if processErr != nil {
5656
logger.Error("haproxy already stopped")

0 commit comments

Comments
 (0)