mirror of
https://gitee.com/openharmony/filemanagement_dfs_service
synced 2024-11-23 08:00:07 +00:00
update utils/load/src/plugin_loader.cpp.
Signed-off-by: xuerunlong <xuerunlong1@huawei.com>
This commit is contained in:
parent
46edf30831
commit
1d4f7241ff
@ -65,7 +65,7 @@ void PluginLoader::LoadCloudKitPlugin(bool isSupportCloudSync)
|
||||
char resolvedPath[PATH_MAX] = {'\0'};
|
||||
if (realpath(pluginFilePath.c_str(), resolvedPath) == nullptr) {
|
||||
LOGE("realpath failed in line path: %s", pluginFilePath.c_str());
|
||||
reutrn;
|
||||
return;
|
||||
}
|
||||
cloudKitPulginHandle_ = dlopen(pluginFilePath.c_str(), RTLD_LAZY);
|
||||
if (cloudKitPulginHandle_ == nullptr) {
|
||||
|
Loading…
Reference in New Issue
Block a user