Actually, do not return success unless the module was enabled.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-05-03 10:33:37 +01:00
parent 058a561fe2
commit 58b03d351d
1 changed files with 2 additions and 2 deletions

View File

@ -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;