From 4d038d4a2a7bb88329c43d1f0234ea73879330eb Mon Sep 17 00:00:00 2001 From: Ilya Lesikov Date: Tue, 28 Feb 2023 17:37:14 +0300 Subject: [PATCH] fix(kube-run): command stderr was redirected to stdin Signed-off-by: Ilya Lesikov --- pkg/util/exec.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/util/exec.go b/pkg/util/exec.go index 4110e0d126..c78756e036 100644 --- a/pkg/util/exec.go +++ b/pkg/util/exec.go @@ -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 }