Skip to content

Commit 28f0fba

Browse files
committed
drop broken-agent redump on TUI exit
1 parent 6a9f6d4 commit 28f0fba

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

cmd/lk/simulate_tui.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,8 @@ func runSimulateTUI(config *simulateConfig) error {
5252
}()
5353

5454
if agentProc := m.launcher.Stop(); agentProc != nil {
55-
if m.brokenAgent {
56-
writeBrokenAgentNote(out.WarnWriter(), agentProc)
57-
fmt.Fprintln(out.WarnWriter())
58-
}
55+
// A broken agent was already shown in the TUI and lands in the
56+
// report file; the terminal only gets the pointers below.
5957
if agentProc.LogPath != "" {
6058
out.Statusf("Agent logs: %s", agentProc.LogPath)
6159
}

0 commit comments

Comments
 (0)