Skip to content

Installer Ctrl+C during upgrade doctor does not abort #90011

Description

@SebTardif

Problem

When running curl -fsSL https://openclaw.ai/install.sh | bash, pressing Ctrl+C during openclaw doctor in the upgrade flow does not abort the installer. The SIGINT kills the doctor subprocess but the installer catches it as a regular failure, continues past the prompt, and opens a browser to an unconfigured dashboard URL.

Expected behavior

Ctrl+C during any installer phase should cleanly abort the installer with exit code 130, clean up temp files, and show a warning.

Actual behavior

SIGINT kills the doctor subprocess, run_quiet_step normalizes the exit code to 1 (losing the 130), the installer treats it as a regular doctor failure, and continues to the dashboard step.

Affected files

  • scripts/install.sh (run_quiet_step exit code propagation, SIGINT/SIGTERM trap, doctor exit code handling)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions