Skip to content

Commit

Permalink
Update boot/bootutil/src/loader.c
Browse files Browse the repository at this point in the history
Co-authored-by: Andrzej Puzdrowski <[email protected]>
  • Loading branch information
de-nordic and nvlsianpu authored Mar 7, 2024
1 parent a414922 commit 34f2a3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions boot/bootutil/src/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,11 @@ boot_verify_slot_dependency(struct boot_loader_state *state,
/* Dependency satisfied. */
rc = 0;
}
#else
if (rc >= 0) {
/* Dependency satisfied. */
rc = 0;
}
#endif

return rc;
Expand Down

0 comments on commit 34f2a3e

Please sign in to comment.