diff --git a/services/updater_binary/update_processor.cpp b/services/updater_binary/update_processor.cpp index 3241e550b517e4bdcb58d20a6c1cf85632f1e14f..bec492cd4891658abc06787521b1452ad17dc22b 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