From d2dccddc4cc7b72843430a1b39f60037dbd74ece Mon Sep 17 00:00:00 2001 From: fengyang Date: Wed, 11 Jun 2025 14:26:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=AF=BB=E5=8F=96=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fengyang --- services/common/src/bundle_active_config_reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/common/src/bundle_active_config_reader.cpp b/services/common/src/bundle_active_config_reader.cpp index fe13125..8864580 100644 --- a/services/common/src/bundle_active_config_reader.cpp +++ b/services/common/src/bundle_active_config_reader.cpp @@ -60,7 +60,7 @@ void BundleActiveConfigReader::LoadApplicationUsePeriodically(const char *filePa return; } cJSON *appUsePeriodicallyRoot = cJSON_GetObjectItem(root, APPLICATION_USE_PERIODICALLY_KEY); - if (!appUsePeriodicallyRoot || cJSON_IsObject(appUsePeriodicallyRoot)) { + if (!appUsePeriodicallyRoot || !cJSON_IsObject(appUsePeriodicallyRoot)) { BUNDLE_ACTIVE_LOGE("application_use_periodically content is empty"); cJSON_Delete(root); return; -- Gitee