debug: coredump: coredump_backend_flash: Keep error in context on flush
Do not override the last known value in backend_ctx.error with the result
of flushing.
Any previous error would be cleared and the coredump would appear to have
succeeded.
Signed-off-by:
Pieter De Gendt <pieter.degendt@basalte.be>
Loading
Please sign in to comment