commit | ad4f3d02078d96e898f463412946c292b404756a | [log] [tgz] |
---|---|---|
author | Alex Kiernan <alex.kiernan@gmail.com> | Wed Jun 12 15:27:55 2019 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Jun 20 10:57:08 2019 -0400 |
tree | 01afc22415d38743798362a2c4069b784a452787 | |
parent | 7e3400b5341ad134911e3736fc2e489855323d7a [diff] |
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: dbc34323796b ("tools: env: Implement atomic replace for filesystem") Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>