]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Prevent getty(8) from looping indefinitely if the device node doesn't
authorEdward Tomasz Napierala <trasz@FreeBSD.org>
Sun, 25 Feb 2018 20:15:06 +0000 (20:15 +0000)
committerEdward Tomasz Napierala <trasz@FreeBSD.org>
Sun, 25 Feb 2018 20:15:06 +0000 (20:15 +0000)
commit170430d505c6436be9747cbee04e734eb7eff831
treeddda255efe16a68d6c0d1f30fc5a63345c6f7724
parent615395d9851af5e55ca315ba25b7f787c2e4af13
Prevent getty(8) from looping indefinitely if the device node doesn't
exist. This behaviour makes no sense for eg USB serial adapters, or
USB device-side serial templates.

This mostly reverts to pre-r135941 behaviour.

Reviewed by: imp@
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D14198
libexec/getty/main.c