projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
affd7ed
)
Revert "do not pass-along the environment from the kernel or initrd"
author
Franck Bui
<fbui@suse.com>
Mon, 20 Jun 2016 16:54:21 +0000
(18:54 +0200)
committer
Franck Bui
<fbui@suse.com>
Mon, 20 Jun 2016 16:55:09 +0000
(18:55 +0200)
This reverts commit
ce8aba568156f2b9d0d3b023e960cda3d9d7db81
.
We should pass an environment as close as possible to what we originally
got.
src/core/main.c
patch
|
blob
|
history
diff --git
a/src/core/main.c
b/src/core/main.c
index
cef7575
..
40d7ff9
100644
(file)
--- a/
src/core/main.c
+++ b/
src/core/main.c
@@
-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);
/*