From e9814863aaecaabd06c20433a81bdcce925e8ee7 Mon Sep 17 00:00:00 2001 From: ldy Date: Mon, 14 Oct 2024 13:54:32 +0000 Subject: [PATCH] update services/updater_utils.cpp. Signed-off-by: ldy --- services/updater_utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/updater_utils.cpp b/services/updater_utils.cpp index 06dd6534..8399b074 100755 --- a/services/updater_utils.cpp +++ b/services/updater_utils.cpp @@ -179,7 +179,8 @@ void PostUpdater(bool clearMisc) { STAGE(UPDATE_STAGE_BEGIN) << "PostUpdater"; - if (!CheckUpdateMode(SDCARD_MODE) && !CheckUpdateMode(USB_MODE)) { + if (!CheckUpdateMode(SDCARD_MODE) && !CheckUpdateMode(USB_MODE) && + GetMountStatusForMountPoint("/log") != MountStatus::MOUNT_MOUNTED) { (void)SetupPartitions(); } else { (void)SetupPartitions(false); -- Gitee