Actually, do not return success unless the module was enabled.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
058a561fe2
commit
58b03d351d
|
@ -36,8 +36,8 @@ e_comp_init(void)
|
|||
|
||||
if (mod)
|
||||
{
|
||||
e_module_enable(mod);
|
||||
return 1;
|
||||
if ((e_module_enable(mod)))
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue