Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(kube-run): command stderr was redirected to stdin
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed Feb 28, 2023
1 parent 464130d commit 4d038d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/util/exec.go
Expand Up @@ -10,8 +10,7 @@ func ExecWerfBinaryCmd(args ...string) *exec.Cmd {
cmd := exec.Command(strings.TrimSuffix(os.Args[0], "-in-a-user-namespace"), args...)

cmd.Stdout = os.Stdout
cmd.Stderr = os.Stdin
cmd.Stdin = os.Stdin
cmd.Stderr = os.Stderr

return cmd
}
Expand Down

0 comments on commit 4d038d4

Please sign in to comment.