mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 11:50:42 +00:00
Fail package update on unhealthy restart (#72422)
This commit is contained in:
@@ -856,6 +856,10 @@ async function maybeRestartService(params: {
|
||||
}
|
||||
}
|
||||
|
||||
if (isPackageManagerUpdateMode(params.result.mode)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return !(health.versionMismatch || health.activatedPluginErrors?.length);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user