fix: Fix the issue with upgrade failures (#9262)

This commit is contained in:
ssongliu
2025-06-24 08:51:13 +00:00
committed by GitHub
parent 8f939ad5be
commit b46192024f
+1 -1
View File
@@ -153,7 +153,7 @@ func (u *UpgradeService) Upgrade(req dto.Upgrade) error {
}{
{path.Join(tmpDir, "1panel"), path.Join(binDir, "1panel"), 1},
{path.Join(tmpDir, "1pctl"), path.Join(binDir, "1pctl"), 2},
{selectInitScript(path.Join(tmpDir, "initscript"), currentServiceName), servicePath, 3},
{selectInitScript(tmpDir, currentServiceName), servicePath, 3},
}
for _, update := range criticalUpdates {