mirror of
https://github.com/systemd/systemd.git
synced 2026-08-06 16:10:59 +00:00
Revert "do not pass-along the environment from the kernel or initrd"
This reverts commit ce8aba5681.
We should pass an environment as close as possible to what we originally
got.
This commit is contained in:
@@ -1995,10 +1995,6 @@ finish:
|
||||
args[i++] = sfd;
|
||||
args[i++] = NULL;
|
||||
|
||||
/* do not pass along the environment we inherit from the kernel or initrd */
|
||||
if (switch_root_dir)
|
||||
(void) clearenv();
|
||||
|
||||
assert(i <= args_size);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user