Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check that the update module is set in mender_download_artifact
Due to `artifact_read_data_prepare` not being called when an artifact doesn't have any files, the update module might be NULL after `mender_http_artifact_download` returns MENDER_OK. Add an explicit check to ensure this is caught. Changelog: None Ticket: MEN-7804 Signed-off-by: Daniel Skinstad Drabitzius <[email protected]>
- Loading branch information