From: Jeremy Kerr Date: Tue, 22 Apr 2014 02:41:59 +0000 (+0800) Subject: ui/ncurses: only cancel default boot on valid key events X-Git-Tag: v1.0.0~183 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=85421290c797c59320bf1e9f076f46195115ab92;hp=85421290c797c59320bf1e9f076f46195115ab92 ui/ncurses: only cancel default boot on valid key events We're seeing occasionaly failures to autoboot due to supirious key events (getch() returing -1) on an IPMI console. This change modifies the process_key logic to only abort the default if we see a valid key event. Signed-off-by: Jeremy Kerr ---