Skip to content

Commit

Permalink
rpi-eeprom-update: Don't display the cancel/revert message in flashro…
Browse files Browse the repository at this point in the history
…m mode

It's not possible to cancel an update via flashrom because it's
already happened.
  • Loading branch information
timg236 committed Jul 29, 2024
1 parent d297996 commit 132ad70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rpi-eeprom-update
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,10 @@ applyRecoveryUpdate()

echo ""
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() {
Expand Down

0 comments on commit 132ad70

Please sign in to comment.