Skip to content

Commit

Permalink
Merge pull request #1253 from jluebbe/fix-error-return
Browse files Browse the repository at this point in the history
src/manifest: add missing return on error
  • Loading branch information
ejoerns committed Sep 28, 2023
2 parents 6228f9f + 0662ea2 commit c52570c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/manifest.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ static gboolean parse_manifest(GKeyFile *key_file, RaucManifest **manifest, GErr
if (raucm->handler_args && !raucm->handler_name) {
g_set_error(error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_PARSE,
"Setting 'args' requires a full custom handler to be defined under 'filename' in group '[handler]'.");
return FALSE;
}
if (!check_remaining_keys(key_file, "handler", &ierror)) {
g_propagate_error(error, ierror);
Expand Down

0 comments on commit c52570c

Please sign in to comment.