From c1c6b5d098c591e51653aafa696b2dbabc952080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=82=AC?= Date: Thu, 27 Mar 2025 02:50:08 +0000 Subject: [PATCH] https://gitee.com/openharmony/update_updater/issues/IBWN2A?from=project-issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 黄悬 --- services/updater_binary/update_processor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/updater_binary/update_processor.cpp b/services/updater_binary/update_processor.cpp index 3241e550..bec492cd 100644 --- a/services/updater_binary/update_processor.cpp +++ b/services/updater_binary/update_processor.cpp @@ -510,6 +510,9 @@ int ProcessUpdater(bool retry, int pipeFd, const std::string &packagePath, const return EXIT_EXEC_SCRIPT_ERROR; } if (!DevicePtable::GetInstance().LoadPartitionInfo()) { + LOG(ERROR) << "load partition fail"; + PkgManager::ReleasePackageInstance(pkgManager); + UPDATER_LAST_WORD("Error to load partition"); return EXIT_EXEC_SCRIPT_ERROR; } #endif -- Gitee