]> git.ozlabs.org Git - petitboot/commitdiff
ui/ncurses: Prevent creation of empty boot entry
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Mon, 2 Feb 2015 05:50:13 +0000 (16:50 +1100)
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Mon, 16 Feb 2015 03:21:36 +0000 (14:21 +1100)
A boot option requires an image path at minimum. If an option is
created without an image, trying to edit the resulting user item causes
a segfault. Prevent the user from creating a boot option without at
least an image path.

Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>

No differences found