diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/main.c b/tests/main.c index f5ddddf..6de02a1 100644 --- a/tests/main.c +++ b/tests/main.c @@ -45,7 +45,7 @@ int main(int argc, char **argv) int i; Eiotas_Particle *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9, *p10; - if(eiotas_init()>0) { + if(eiotas_init()==0) { return EXIT_FAILURE; } eina_log_domain_level_set("eiotas",EINA_LOG_LEVEL_DBG); @@ -116,6 +116,5 @@ int main(int argc, char **argv) eiotas_spin_free(dom0); - return eiotas_shutdown(); } |