core: strv_env_clean() modifies in-place, no need to set buf to itself

This commit is contained in:
Mike Yuan
2025-05-29 21:01:43 +02:00
parent 4d67fcabed
commit 94f533e305
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5254,7 +5254,7 @@ int exec_invoke(
*exit_status = EXIT_MEMORY;
return log_oom();
}
accum_env = strv_env_clean(accum_env);
strv_env_clean(accum_env);
(void) umask(context->umask);