diff --git a/pkg/commands/exec_live_default.go b/pkg/commands/exec_live_default.go index b0685b639..ad1c568e5 100644 --- a/pkg/commands/exec_live_default.go +++ b/pkg/commands/exec_live_default.go @@ -66,7 +66,6 @@ func RunCommandWithOutputLiveWrapper(c *OSCommand, command string, output func(s go func() { stopAsking <- struct{}{} }() - <-stopAsking if err != nil { waitForBufio.Wait() return strings.Join(cmdOutput, " "), err