Claude Code v2.1.227 ·
Daemon lock recovers when the lock path is not a regular file
Claude Code starts even if something odd is sitting at its lock file path.
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
DaemonArea: what it touches
Bug FixesKind: in v2.1.227,
Bug FixesSection of the release
What
If a directory, fifo, socket or symlink sits at the daemon lock path, Claude Code now removes it and retries once instead of failing to start.
Details
EISDIR and ENXIO errors during removal trigger the same cleanup; a symlink loop (ELOOP) is treated as an existing lock and left alone.- The warning is logged once per process.
Evidence
removing it as the legacy path does
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.227 →