diff --git a/virt-v2v/cold/entrypoint.go b/virt-v2v/cold/entrypoint.go index 92e248534..bec4dd26a 100644 --- a/virt-v2v/cold/entrypoint.go +++ b/virt-v2v/cold/entrypoint.go @@ -207,7 +207,6 @@ func executeVirtV2v(source string, args []string) (err error) { virtV2vMonitorCmd := exec.Command("/usr/local/bin/virt-v2v-monitor") virtV2vMonitorCmd.Stdin = r virtV2vMonitorCmd.Stdout = os.Stdout - virtV2vMonitorCmd.Stderr = os.Stderr var teeErr io.Reader if source == OVA { @@ -216,7 +215,7 @@ func executeVirtV2v(source string, args []string) (err error) { fmt.Printf("Error setting up stdout pipe: %v\n", err) return err } - teeErr = io.TeeReader(virtV2vStderrPipe, os.Stdout) + teeErr = io.TeeReader(virtV2vStderrPipe, os.Stderr) } if err = virtV2vMonitorCmd.Start(); err != nil {