Skip to content
Snippets Groups Projects
Commit a762311a authored by Alex Kiernan's avatar Alex Kiernan Committed by Tom Rini
Browse files

fw_env: Add missing write failure check


If flash_write fails, whilst we propagate this up to our caller, we need
to avoid swapping in the new file (if we're on a filesystem) in this
case.

Fixes: dbc34323 ("tools: env: Implement atomic replace for filesystem")
Signed-off-by: default avatarAlex Kiernan <alex.kiernan@gmail.com>
parent 656d8da9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment