diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2021-10-29 14:54:31 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2021-11-05 22:32:11 +0100 |
commit | b4bf9007cbee7dc0b1356897344ae2a7890df84c (patch) | |
tree | 0d9094df26ce2de90348393456a6c972ba0968e5 /docs | |
parent | Merge pull request #20138 from keszybz/coding-style-variable-decls (diff) | |
download | systemd-b4bf9007cbee7dc0b1356897344ae2a7890df84c.tar.xz systemd-b4bf9007cbee7dc0b1356897344ae2a7890df84c.zip |
getty: Pass tty to use by agetty via stdin
If the tty arg is set to "-", agetty uses the stdin fd as the tty.
Let's pass the tty this way so that we keep an fd open to the tty
at all times. If all fd's to a tty are closed, the kernel might
reset the tty which we want to avoid.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions