mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 20:35:39 -06:00
fix(update): hand off supervised auto-updates
This commit is contained in:
@@ -828,12 +828,6 @@ function gatewayAncestryBlockMessage(pid: unknown): string | undefined {
|
||||
return isGatewayAncestorPid(pid) ? formatGatewayAncestryBlockMessage(pid) : undefined;
|
||||
}
|
||||
|
||||
function gatewayRuntimeAncestryBlockMessage(
|
||||
runtime: { pid?: unknown } | null | undefined,
|
||||
): string | undefined {
|
||||
return gatewayAncestryBlockMessage(runtime?.pid);
|
||||
}
|
||||
|
||||
function serviceControlStdoutForMode(jsonMode: boolean): NodeJS.WritableStream {
|
||||
return jsonMode ? JSON_MODE_SERVICE_STDOUT : process.stdout;
|
||||
}
|
||||
@@ -900,7 +894,7 @@ async function maybeStopManagedServiceBeforePackageUpdate(params: {
|
||||
};
|
||||
}
|
||||
|
||||
const blockMessage = gatewayRuntimeAncestryBlockMessage(serviceState.runtime);
|
||||
const blockMessage = gatewayAncestryBlockMessage(serviceState.runtime?.pid);
|
||||
if (blockMessage) {
|
||||
return {
|
||||
stopped: false,
|
||||
|
||||
Reference in New Issue
Block a user