diff options
| author | Tom Rini <trini@konsulko.com> | 2019-06-20 21:52:31 -0400 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2019-06-20 21:52:31 -0400 |
| commit | 226a35ef0ef310d8fffa3e6283ee3aab9dab26aa (patch) | |
| tree | 22fe10155b4a590a165edaee8f5eb2b9b777b2fd /tools | |
| parent | f643fb9f4c8fc5c5dceb8c2c2893447d18413d77 (diff) | |
| parent | 2bc1821e8662f9ed67cc6eeb680148bb5c148379 (diff) | |
Merge branch '2019-06-20-master-imports'
- Assorted minor fixes
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/env/fw_env.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index cfada0ee11..eef12dd2b7 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c @@ -1317,7 +1317,7 @@ static int flash_io_write(int fd_current) rc = -1; } - if (target_temp) { + if (rc >= 0 && target_temp) { int dir_fd; dir_fd = open(dname, O_DIRECTORY | O_RDONLY); |
