mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
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.
2.0 KiB
2.0 KiB