battery: let's finally allow the battery process to rest also when enlightenment...
authorCedric BAIL <cedric@osg.samsung.com>
Mon, 17 Aug 2015 20:26:24 +0000 (22:26 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 17 Aug 2015 20:30:26 +0000 (22:30 +0200)
src/modules/battery/e_mod_main.c

index 4158e7d..5192b0f 100644 (file)
@@ -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);
      }
 }