From d9bd14db31bb76495ca97476c81d123a5ee09694 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] =?UTF-8?q?https://gitee.com/openharmony/update=5Fupdater/?= =?UTF-8?q?issues/IBWN2A=3Ffrom=3Dproject-issue=20Signed-off-by:=20?= =?UTF-8?q?=E9=BB=84=E6=82=AC=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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