mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 05:16:23 -06:00
fix: fail stopped service update restart errors
This commit is contained in:
@@ -2315,7 +2315,10 @@ async function maybeRestartService(params: {
|
||||
),
|
||||
);
|
||||
}
|
||||
if (isPackageManagerUpdateMode(params.result.mode)) {
|
||||
if (
|
||||
isPackageManagerUpdateMode(params.result.mode) ||
|
||||
params.requireRunningServiceAfterRestart
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user