X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fcompositor.c;h=c8f9e60a82f56fb195053a5f46e0259f689d5ef8;hb=10d2c1d637e9ef8759e1756ef626ab24aed7c668;hp=4ee4dc3635d9b68f30b5ae8c5da6683b773a11a1;hpb=e144375c2479decf7c7569d4bb1629dce296506b;p=src%2Fagl-compositor.git diff --git a/src/compositor.c b/src/compositor.c index 4ee4dc3..c8f9e60 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1177,6 +1177,14 @@ load_modules(struct ivi_compositor *ivi, const char *modules, continue; } + if (strstr(buffer, "systemd-notify.so")) { + weston_log("systemd-notify plug-in already loaded!\n"); + p = end; + while (*p == ',') + p++; + continue; + } + module_init = weston_load_module(buffer, "wet_module_init"); if (!module_init) return -1;