]> git.ozlabs.org Git - petitboot/commit - discover/device-handler.c
discover/device-handler: Disable safe mode warning on reinit
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 23 Aug 2017 01:05:58 +0000 (11:05 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 23 Aug 2017 01:37:37 +0000 (11:37 +1000)
commitb9b5fa357e5921eb752e62f7146339007d9f767f
tree6e63fed68340e6e9ee7b621e3b0944f03e405594
parent48ca02faa9816b158cb6fa56a4107701143cb212
discover/device-handler: Disable safe mode warning on reinit

If a user pressed "Rescan Devices" in safe mode the reinit would
complete successfully, but the big warning that safe mode is active
would remain. On reinit clear the safe_mode flag properly.

This has no functional change aside from clearing the UI warning - the
IPMI override remains active until cleared or a successful boot occurs.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c