]> git.ipfire.org Git - thirdparty/shadow.git/commit
shadow: Fix can not print full login timeout message
authorSoumyaWind <121475834+SoumyaWind@users.noreply.github.com>
Tue, 27 Dec 2022 12:10:17 +0000 (17:40 +0530)
committerSerge Hallyn <serge@hallyn.com>
Fri, 13 Jan 2023 00:30:32 +0000 (18:30 -0600)
commit670cae834827a8f794e6f7464fa57790d911b63c
tree223c9e9fc807ff4bec3db430d3b84359f7145203
parentabeb5f3794c2dbdb51b256a6f8c5d2f6bb83efa1
shadow: Fix can not print full login timeout message

Login timed out message prints only first few bytes when write is immediately followed by exit.
Calling exit from new handler provides enough time to display full message.
src/login.c