This commit is contained in:
2026-03-09 00:05:15 +01:00
parent 1c1dc4c98b
commit 9f22fa068e
3 changed files with 35 additions and 13 deletions

View File

@@ -40,6 +40,10 @@ foreach ($hosts as $host) {
$updateCount = (int)$m[1];
}
}
$updatePreview = trim($updOutStr);
if (strlen($updatePreview) > 1200) {
$updatePreview = substr($updatePreview, 0, 1200);
}
[$upgExit, $upgOut, $upgErr] = runSshCommandCapture($host, $upgradeCmd, $strictHostKey, 25);
$upgOutStr = (string)$upgOut;