1
0
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:
Franck Bui 2016-06-20 18:54:21 +02:00
parent affd7ed1a9
commit 8ce0611e42

View File

@ -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);
/*