Skip to content

Commit

Permalink
BUG: use Start call in restart command
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmatmati authored and oktalz committed Oct 8, 2024
1 parent 6164e14 commit 12ad85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/haproxy/process/direct-control.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (d *directControl) Service(action string) (err error) {
}
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
return cmd.Run()
return cmd.Start()
default:
return fmt.Errorf("unknown command '%s'", action)
}
Expand Down

0 comments on commit 12ad85d

Please sign in to comment.