]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pid1: remove unnecessary terminator
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 5 Mar 2020 07:06:43 +0000 (08:06 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 5 Mar 2020 07:13:49 +0000 (08:13 +0100)
We specify the number of items as the first argument already.

src/core/execute.c

index 4595bb12dce7d7419c356795189f1406ac6470dd..89dbf6fbd2c16e8ce387539b44b0e80e1261b622 100644 (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();