summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-10-13 23:15:12 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-10-13 23:15:12 +0100
commitfca53bbd3f53709b8303aa5012cbdbcc030ed8e7 (patch)
treec1b74fa6c24da9bca7c1b03ba23cb18285f4af36
parent1ff2b77bc42c274c9a9e213007313ff79a793a20 (diff)
downloadenlightenment-fca53bbd3f53709b8303aa5012cbdbcc030ed8e7.tar.gz
e invert to set env var for fussy aborts as opposed to inverse
better stability for users.
-rw-r--r--src/bin/e_log.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/e_log.c b/src/bin/e_log.c
index 7446d05014..dbde719e32 100644
--- a/src/bin/e_log.c
+++ b/src/bin/e_log.c
@@ -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;
}