cedric pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4d30a3bf3553d25e2ccabf9f00159f2542a57cce

commit 4d30a3bf3553d25e2ccabf9f00159f2542a57cce
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Mon Aug 17 22:26:24 2015 +0200

    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 4158e7d..5192b0f 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);
      }
 }
 

-- 


Reply via email to