]> git.ozlabs.org Git - petitboot/commit
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>
Tue, 29 Aug 2017 04:11:24 +0000 (14:11 +1000)
commit8edb984cdaf8beac0b61f56da0cdde1c798215c3
treeb2c48f2016221a3a8e3aacb217a4843062e24c8c
parent08e12d820c9f0e4199bd648316749f5daa26f4cf
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>
(cherry picked from commit b9b5fa357e5921eb752e62f7146339007d9f767f)
discover/device-handler.c