diff --git a/services/storage_manager/storage/src/storage_monitor_service.cpp b/services/storage_manager/storage/src/storage_monitor_service.cpp index f988153e70e2cf9419b425670af806dc35317416..6c5d67883aeda14b848a20139918bb5b16e0ac51 100644 --- a/services/storage_manager/storage/src/storage_monitor_service.cpp +++ b/services/storage_manager/storage/src/storage_monitor_service.cpp @@ -123,7 +123,7 @@ void StorageMonitorService::CheckAndCleanBundleCache() int64_t freeSize; err = DelayedSingleton::GetInstance()->GetFreeSize(freeSize); - if ((err != E_OK) || (freeSize <= 0)) { + if ((err != E_OK) || (freeSize < 0)) { LOGE("Get device free size failed."); return; }