mirror of
https://github.com/debauchee/barrier.git
synced 2025-08-06 10:09:28 +02:00
parent
11a7d2c4c2
commit
1fd5883620
1 changed files with 15 additions and 0 deletions
15
plugin-unix.diff
Normal file
15
plugin-unix.diff
Normal file
|
@ -0,0 +1,15 @@
|
|||
diff --git a/src/lib/arch/unix/ArchPluginUnix.cpp b/src/lib/arch/unix/ArchPluginUnix.cpp
|
||||
index 997c274..3e390f0 100644
|
||||
--- a/src/lib/arch/unix/ArchPluginUnix.cpp
|
||||
+++ b/src/lib/arch/unix/ArchPluginUnix.cpp
|
||||
@@ -76,8 +76,8 @@ ArchPluginUnix::load()
|
||||
void* library = dlopen(path.c_str(), RTLD_LAZY);
|
||||
|
||||
if (library == NULL) {
|
||||
- LOG((CLOG_ERR "failed to load plugin: %s", (*it).c_str()));
|
||||
- throw XArch(dlerror());
|
||||
+ LOG((CLOG_ERR "failed to load plugin '%s', error: %s", (*it).c_str(), dlerror()));
|
||||
+ continue;
|
||||
}
|
||||
|
||||
String filename = synergy::string::removeFileExt(*it);
|
Loading…
Add table
Add a link
Reference in a new issue