Fix flash messages when failing to flash

It would give the success message when flashing carbons even if the flash
had actually failed to work

Fixes #6240