fix: keep gateway stopped after plugin update failure

This commit is contained in:
Shakker
2026-06-10 20:01:25 +01:00
committed by Shakker
parent 6ea8ac7ea3
commit e1c4c3151c
2 changed files with 5 additions and 18 deletions

View File

@@ -3757,10 +3757,6 @@ async function updateCommandInternal(opts: UpdateCommandOptions): Promise<void>
result: resultWithPostUpdate,
jsonMode: Boolean(opts.json),
});
await maybeRestartServiceAfterFailedMutableUpdate({
preManagedServiceStop,
jsonMode: Boolean(opts.json),
});
if (opts.json) {
defaultRuntime.writeJson(resultWithPostUpdate);
} else {