mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 16:25:50 +00:00
Fail package update on unhealthy restart (#72422)
This commit is contained in:
parent
998e37fcb3
commit
560ddd2f9b
3 changed files with 129 additions and 24 deletions
|
|
@ -856,6 +856,10 @@ async function maybeRestartService(params: {
|
|||
}
|
||||
}
|
||||
|
||||
if (isPackageManagerUpdateMode(params.result.mode)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return !(health.versionMismatch || health.activatedPluginErrors?.length);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue