chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Wed, 5 Jul 2017 06:50:49 +0000 (08:50 +0200)
commit7a9512b871f59656d205a6fa4b11c7a66e321d08
tree820d192ccadb89f8662a68ef08947a46cd14ec46
parentb3ba37e13ca5fda7de81196b87b12e069d563665
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