main: handle return code of r_boot_set_state() in status mark-good/bad
main: handle return code of r_boot_set_state() in status mark-good/bad

Signed-off-by: Enrico Joerns <6f25d61666c0d38510ceaa8cd7c07bf542dae3d7@tu-bs.de>

rauc/rauc,ejoerns/rauc,jluebbe/rauc,ejoerns/rauc,ejoerns/rauc,rauc/rauc,rauc/rauc,jluebbe/rauc,jluebbe/rauc