fw_printenv: Don't bail out directly after one env read error
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 26 Jun 2018 09:37:59 +0000 (12:37 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 27 Jun 2018 17:09:16 +0000 (13:09 -0400)
commit3925b2ac97b50b1facab096ac98243615683c295
tree247018acf941a9e3ec462ef205af22b911e30441
parent94905e1db8d8d42c4f39f14dbee2f9788390db5e
fw_printenv: Don't bail out directly after one env read error

When using a redundant environment a read error should simply mean to
not use that copy instead of giving up completely. The other copy may
be just fine.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
tools/env/fw_env.c