e invert to set env var for fussy aborts as opposed to inverse

better stability for users.
This commit is contained in:
Carsten Haitzler 2019-10-13 23:15:12 +01:00
parent 1ff2b77bc4
commit fca53bbd3f
1 changed files with 1 additions and 3 deletions

View File

@ -39,10 +39,8 @@ e_log_init(void)
if (level < 1)
eina_log_print_cb_set(_e_log_cb, NULL);
}
#ifndef E_RELEASE_BUILD
if (!getenv("E_DONT_ABORT"))
if (getenv("E_ABORT"))
eina_log_abort_on_critical_set(1);
#endif
return e_log_dom != -1;
}