summaryrefslogtreecommitdiff
path: root/src/bin/main.c
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-06-19 13:09:00 +0300
committerYakov Goldberg <yakov.g@samsung.com>2014-06-22 19:26:12 +0300
commit194116db00d4bf54e8956e2a4cebdfb3d29c89a5 (patch)
treefe4002dacdd78656ce3037b859748e3db15f5967 /src/bin/main.c
parent00819ee06ddf56f8cbf43b9a12fca6dfa9be10c8 (diff)
add init error handling for db_init
Diffstat (limited to 'src/bin/main.c')
-rw-r--r--src/bin/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 39876bf..699e1dd 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -14,7 +14,7 @@ static Eina_Bool
14_generate(const char *filename, const char* path, const char *new_filename, Generator_Export_Format format, Generator_Export_Mode mode) 14_generate(const char *filename, const char* path, const char *new_filename, Generator_Export_Format format, Generator_Export_Mode mode)
15{ 15{
16 Gui_Context *ctx; 16 Gui_Context *ctx;
17 ctx = gui_context_new();; 17 ctx = gui_context_new();
18 if (!ctx) 18 if (!ctx)
19 { 19 {
20 ERR("Can not create context: %p", ctx); 20 ERR("Can not create context: %p", ctx);
@@ -116,6 +116,7 @@ main(int argc, char **argv)
116 if (!gui_parser_init()) 116 if (!gui_parser_init())
117 { 117 {
118 EINA_LOG_ERR("Could not start egui"); 118 EINA_LOG_ERR("Could not start egui");
119 gui_parser_shutdown();
119 return 1; 120 return 1;
120 } 121 }
121 _manager_init_check(); 122 _manager_init_check();