diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2018-09-12 18:19:13 +0100 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2018-10-29 10:18:26 +0100 |
commit | 3ddb90ae3fa7d2c93c12a7d623fd720b12a29d16 (patch) | |
tree | 102b8246489a5a0e67e6f7b4b7d65d4493e91be4 /src/basic/exec-util.h | |
parent | 3d5dc0215f7acc752e0ff5904361b86e6bc78695 (diff) |
exec-util: in execute_directories, support initial exec environment
(cherry picked from commit 78ec1bb436fb18df3b56212c442cc4775a136d1a)
Diffstat (limited to 'src/basic/exec-util.h')
-rw-r--r-- | src/basic/exec-util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/basic/exec-util.h b/src/basic/exec-util.h index f81019f86..2c745d501 100644 --- a/src/basic/exec-util.h +++ b/src/basic/exec-util.h @@ -18,7 +18,8 @@ int execute_directories( usec_t timeout, gather_stdout_callback_t const callbacks[_STDOUT_CONSUME_MAX], void* const callback_args[_STDOUT_CONSUME_MAX], - char *argv[]); + char *argv[], + char *envp[]); #if 0 /// UNNEEDED by elogind extern const gather_stdout_callback_t gather_environment[_STDOUT_CONSUME_MAX]; |