summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-06-22 10:34:16 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-06-22 10:34:16 +0900
commit62feb358e6a9d4307bdeb72234a87bf0e3d8ccc1 (patch)
tree0817e4743598e20caee41314be8f6ad2bdac0390
parent3e3b48478b1fc6fa69b2865899ef63b0a5a2e4af (diff)
e - allow env var to turn off aborting at any CRI issue
some of these CRI logs are not wirth an abort... but mike seems to think so... so i'm going to turn it off for me...
-rw-r--r--src/bin/e_log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_log.c b/src/bin/e_log.c
index dcbf96e1e..7446d0501 100644
--- a/src/bin/e_log.c
+++ b/src/bin/e_log.c
@@ -40,7 +40,8 @@ e_log_init(void)
40 eina_log_print_cb_set(_e_log_cb, NULL); 40 eina_log_print_cb_set(_e_log_cb, NULL);
41 } 41 }
42#ifndef E_RELEASE_BUILD 42#ifndef E_RELEASE_BUILD
43 eina_log_abort_on_critical_set(1); 43 if (!getenv("E_DONT_ABORT"))
44 eina_log_abort_on_critical_set(1);
44#endif 45#endif
45 return e_log_dom != -1; 46 return e_log_dom != -1;
46} 47}