battery: let's finally allow the battery process to rest also when enlightenment die.

This commit is contained in:
Cedric BAIL 2015-08-17 22:26:24 +02:00
parent f4e07cd8f0
commit 4d30a3bf35
1 changed files with 2 additions and 1 deletions

View 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);
}
}