mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-20 21:13:36 +08:00
rpi-eeprom-update: Don't display the cancel/revert message in flashrom mode
It's not possible to cancel an update via flashrom because it's already happened.
This commit is contained in:
@@ -286,7 +286,10 @@ applyRecoveryUpdate()
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "EEPROM updates pending. Please reboot to apply the update."
|
echo "EEPROM updates pending. Please reboot to apply the update."
|
||||||
echo "To cancel a pending update run \"sudo rpi-eeprom-update -r\"."
|
|
||||||
|
if [ "${RPI_EEPROM_USE_FLASHROM}" = 0 ]; then
|
||||||
|
echo "To cancel a pending update run \"sudo rpi-eeprom-update -r\"."
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
applyUpdate() {
|
applyUpdate() {
|
||||||
|
|||||||
Reference in New Issue
Block a user