]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/terminal-util.c
core: inherit TERM from PID 1 for all services started on /dev/console
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Jul 2016 13:25:55 +0000 (15:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 3 Aug 2016 12:52:16 +0000 (14:52 +0200)
commit6af760f3b263d3ddfa80a4168ad0a0c5e59bae1f
tree2869ab52f793174335ed7f4c33c5b58980f4f683
parent43992e57e0bf479a583e90fa2e23f0f1aa2fc2fb
core: inherit TERM from PID 1 for all services started on /dev/console

This way, invoking nspawn from a shell in the best case inherits the TERM
setting all the way down into the login shell spawned in the container.

Fixes: #3697
src/basic/terminal-util.c
src/core/execute.c
src/core/main.c