summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/main.c b/src/core/main.c
index cef7575937..40d7ff9be5 100644
--- 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);
/*