fix: prevent infinite relaunch loop when --resume fails (#14941) (#14951)

Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
This commit is contained in:
Ying-xi
2025-12-20 11:22:01 +08:00
committed by GitHub
parent e64146914a
commit 8feeffb29b

View File

@@ -9,7 +9,7 @@ import { runExitCleanup } from './cleanup.js';
/**
* Exit code used to signal that the CLI should be relaunched.
*/
export const RELAUNCH_EXIT_CODE = 42;
export const RELAUNCH_EXIT_CODE = 199;
/**
* Exits the process with a special code to signal that the parent process should relaunch it.