mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03: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:
parent
affd7ed1a9
commit
8ce0611e42
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user