I combined Victor commit and Daniel commit module registered now.
Think need apply

diff --git a/src/modules/systemdops/systemdops_mod.c b/src/modules/systemdops/systemdops_mod.c
index 0ac15426d1..4672f47d1a 100644
--- a/src/modules/systemdops/systemdops_mod.c
+++ b/src/modules/systemdops/systemdops_mod.c
@@ -69,7 +69,8 @@ void ksr_sd_app_shutdown(void)
 int mod_register(char *path, int *dlflags, void *p1, void *p2)
 {
        sr_corecb_t *cbp = sr_corecb_get();
-       if(cbp) {
+       if(!cbp) {
+               SYS_MEM_ERROR;
                return -1;
        }
        cbp->app_ready = ksr_sd_app_ready;


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.