Skip to content

Commit

Permalink
makefile: Fix make update command
Browse files Browse the repository at this point in the history
The additional aktualizr-lite check command added in commit b628f99
(makefile: Add check operation on make update) introduced an issue
where the `make update` command stops before trying the aktualizr-lite
pull and install commands when there is an update to be performed, since
in that case, the check command returns an exit code != 0.

This commit ignores the return code of the check command, allowing the
`make update` command to always proceed to pull + install.

Signed-off-by: Andre Detsch <andre.detsch@foundries.io>
  • Loading branch information
detsch committed Nov 21, 2024
1 parent 4acec0a commit c6a93bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ check:
${BIN} check

update:
${BIN} check
${BIN} check || true
@ostree config set core.mode bare-user
${BIN} pull
@ostree config set core.mode bare-user-only
Expand Down

0 comments on commit c6a93bc

Please sign in to comment.