Skip to content

Commit

Permalink
Don't set WaitDelay (not available in Go 1.19)
Browse files Browse the repository at this point in the history
Probably not required anyway :)
  • Loading branch information
martinhpedersen committed Nov 23, 2023
1 parent 78c0abe commit 5c0f799
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion conn_prehook.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ func (p prehookConn) Read(b []byte) (int, error) { return p.br.Read(b) }
// terminated successfully (exit code 0).
func (p prehookConn) Wait(ctx context.Context) error {
cmd := exec.CommandContext(ctx, p.executable, p.args...)
cmd.WaitDelay = time.Second
cmd.Stderr = os.Stderr
cmd.Stdout = p.Conn
cmdStdin, err := cmd.StdinPipe()
Expand Down

0 comments on commit 5c0f799

Please sign in to comment.