Skip to content

raw_handler.c: fix return value when an error occurred

Stefano babic requested to merge github/fork/msalvinik/raw-file-handler-fix into master

Created by: msalvinik

Before this commit, if an error occurs during the raw file handling (e.g. no space on device) and there is a mounted device, the error code got overwritten by the swupdate_umount() return value: if swupdate_umount() returned success (0), the update process did not fail as expected

Merge request reports