diff --git a/src/core/nixl_plugin_manager.cpp b/src/core/nixl_plugin_manager.cpp index e42aaa9ba..ac3524d83 100644 --- a/src/core/nixl_plugin_manager.cpp +++ b/src/core/nixl_plugin_manager.cpp @@ -186,7 +186,7 @@ getPluginDir() { NIXL_ERROR << "Failed to get plugin directory from dladdr"; return ""; } - return (std::filesystem::path(info.dli_fname).parent_path() / "plugins").string(); + return (std::filesystem::path(info.dli_fname).parent_path().parent_path() / "plugins").string(); } } // namespace