mirror of
https://github.com/systemd/systemd.git
synced 2026-07-17 13:00:35 +00:00
When running unprivileged, checking /proc/1/root doesn't work because it requires privileges. Instead, let's add an environment variable so the process that chroot's can tell (systemd) subprocesses whether they're running in a chroot or not.