Merge pull request #167019 from NixOS/fix/systemd-env

nixos/stage-2-init: Don't clear environment
This commit is contained in:
Janne Heß 2022-04-03 16:36:26 +02:00 committed by GitHub
commit 371504ac8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,4 +118,4 @@ exec {logOutFd}>&- {logErrFd}>&-
# Start systemd in a clean environment. # Start systemd in a clean environment.
echo "starting systemd..." echo "starting systemd..."
exec env - @systemdExecutable@ "$@" exec @systemdExecutable@ "$@"