Skip to content

Commit 75e3e75

Browse files
committed
fix(cli): only follow logs if agent is starting when using ssh
1 parent 70046ea commit 75e3e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cliui/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func Agent(ctx context.Context, writer io.Writer, agentID uuid.UUID, opts AgentO
132132
}
133133

134134
stage := "Running workspace agent startup scripts"
135-
follow := opts.Wait
135+
follow := opts.Wait && agent.LifecycleState.Starting()
136136
if !follow {
137137
stage += " (non-blocking)"
138138
}

0 commit comments

Comments
 (0)