Fix exception handling of appcore_ui_base API
[platform/core/appfw/app-core.git] / src / base / appcore_base.c
index e4208e7..c9a17cc 100644 (file)
@@ -893,7 +893,7 @@ EXPORT_API int appcore_base_init(appcore_base_ops ops, int argc, char **argv, vo
                traceEnd(TTRACE_TAG_APPLICATION_MANAGER);
                if (r < 0) {
                        aul_status_update(STATUS_DYING);
-                       return 0;
+                       return r;
                }
        }