pid1: remove unnecessary terminator

We specify the number of items as the first argument already.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-03-05 08:06:43 +01:00
parent dd0395b565
commit 44e5d00603

View File

@@ -3406,8 +3406,7 @@ static int exec_child(
our_env,
pass_env,
context->environment,
files_env,
NULL);
files_env);
if (!accum_env) {
*exit_status = EXIT_MEMORY;
return log_oom();