diff --git a/src/features/tmux-subagent/manager.ts b/src/features/tmux-subagent/manager.ts index 06fc16af..eef70b19 100644 --- a/src/features/tmux-subagent/manager.ts +++ b/src/features/tmux-subagent/manager.ts @@ -410,7 +410,6 @@ export class TmuxSessionManager { const closeActionSucceeded = result.results.some( ({ action, result: actionResult }) => action.type === "close" && actionResult.success, ) - const spawnFailed = !result.success || !result.spawnedPaneId if (result.success && result.spawnedPaneId) { const sessionReady = await this.waitForSessionReady(sessionId)