Suppress undefined rwreset error in obmc-flash-bmc
This commit tweaks obmc-flash-bmc to suppress the error message
produced when the environment variable rwreset is undefined. In
context, this variable is checked to verify if a factory reset
should be performed. If the variable is not set, or if it's set
to anything other than true, we don't perform the reset - this is
not an error, so no need to log one to the journal.
Resolves openbmc/openbmc#2249
Change-Id: Ibe595f3ca879afc141bed2b7b186233ea2db9d14
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
1 file changed