]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sulogin: bail out from getpasswd(...) on timeout
authorAndreas Henriksson <andreas@fatal.se>
Mon, 28 Nov 2016 16:24:50 +0000 (17:24 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 17 Jan 2017 14:47:24 +0000 (15:47 +0100)
commitbbb24d90af4069fd52f7525fbb8dc209b61a05e8
treed805d68152b0131247fac155c08ae2bd36c5da6d
parent51e22ab6dfbee7ca3ff8515f5a835242fde9f2dd
sulogin: bail out from getpasswd(...) on timeout

If timeout happens while waiting in prompt, bail out instead
of retrying.

Reported-by: Bjørn Mork <bjorn@mork.no>
Addresses: http://bugs.debian.org/846107
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
login-utils/sulogin.c