diff --git a/pkg/console/util.go b/pkg/console/util.go index 32c81b4ae..50171560d 100644 --- a/pkg/console/util.go +++ b/pkg/console/util.go @@ -1227,8 +1227,9 @@ func executeWipeDisks(ctx context.Context, name string) error { } func runCommand(cmd *exec.Cmd) error { - if err := cmd.Start(); err != nil { - return err + output, err := cmd.CombinedOutput() + if err != nil { + logrus.Error(string(output)) } - return cmd.Wait() + return err }