]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: unset HOME=/ that the kernel gives us
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 21 May 2019 17:26:12 +0000 (19:26 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 22 May 2019 14:28:02 +0000 (16:28 +0200)
commit9d48671c62de133a2b9fe7c31e70c0ff8e68f2db
treeb3aff9b088a557a61e14a0d464350dd84e8a0f20
parent8da24acad52fb102ad52848c368d92cc7a42c281
core: unset HOME=/ that the kernel gives us

Partially fixes #12389.

%h would return "/" in a machine, but "/root" in a container. Let's fix
this by resetting $HOME to the expected value.
src/core/main.c