print a warning when a module fails to open
This commit is contained in:
parent
6401ceed2b
commit
4840f7e837
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ static Plugin *plugin_new(char *name)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p->module == NULL) {
|
if (p->module == NULL) {
|
||||||
|
g_warning(g_module_error());
|
||||||
g_free(p);
|
g_free(p);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue