Skip to content

Commit 3620b6e

Browse files
ivanmatmatioktalz
authored andcommitted
BUG: use Run to restart a HAProxy process without zombie
1 parent 43452b9 commit 3620b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/haproxy/process/direct-control.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (d *directControl) Service(action string) (err error) {
7373
}
7474
cmd.Stdout = os.Stdout
7575
cmd.Stderr = os.Stderr
76-
return cmd.Start()
76+
return cmd.Run()
7777
default:
7878
return fmt.Errorf("unknown command '%s'", action)
7979
}

0 commit comments

Comments
 (0)