From 4d30a3bf3553d25e2ccabf9f00159f2542a57cce Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 17 Aug 2015 22:26:24 +0200 Subject: [PATCH] battery: let's finally allow the battery process to rest also when enlightenment die. --- src/modules/battery/e_mod_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/battery/e_mod_main.c b/src/modules/battery/e_mod_main.c index 4158e7d41..5192b0f88 100644 --- a/src/modules/battery/e_mod_main.c +++ b/src/modules/battery/e_mod_main.c @@ -388,7 +388,8 @@ _battery_config_updated(void) battery_config->batget_exe = ecore_exe_pipe_run(buf, ECORE_EXE_PIPE_READ | ECORE_EXE_PIPE_READ_LINE_BUFFERED | - ECORE_EXE_NOT_LEADER, NULL); + ECORE_EXE_NOT_LEADER | + ECORE_EXE_TERM_WITH_PARENT, NULL); } }