diff options
Diffstat (limited to 'src/execute.c')
-rw-r--r-- | src/execute.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/execute.c b/src/execute.c index 05abd5aaac..8f486e2004 100644 --- a/src/execute.c +++ b/src/execute.c @@ -1303,6 +1303,8 @@ int exec_spawn(ExecCommand *command, goto fail; } + final_env = strv_env_clean(final_env); + execve(command->path, final_argv, final_env); r = EXIT_EXEC; |