OSDN Git Service

efibootmgr: fix error check on add_to_boot_order()
authorPeter Jones <pjones@redhat.com>
Tue, 15 Aug 2017 14:30:42 +0000 (10:30 -0400)
committerPeter Jones <pjones@redhat.com>
Mon, 9 Apr 2018 20:20:17 +0000 (16:20 -0400)
commit4851582e76e5d070d655f024c066a5620c588a13
treea4001d07db3b112c28473d36d3f24a58867fe800
parent3c13c93c59a6fcb86a58c90d9503c23425758118
efibootmgr: fix error check on add_to_boot_order()

Previously the error was checked whether or not we actually /call/
add_to_boot_order(), so sometimes we'll get a failure even though
nothing was even done.

Signed-off-by: Peter Jones <pjones@redhat.com>
src/efibootmgr.c