Skip to content

Conversation

@twojstaryzdomu
Copy link

The ERR traps introduced in commits e05db18 & ee07434 revealed a bug in update-nc.sh, triggered by bin/ncp-update-nc.d/upgrade-php-bullseye-8.1.sh or bin/ncp-update-nc.d/upgrade-php-bookworm-8.3.sh: Whenever either of the two conditional lists fails in update-nc.sh, the configure function will return a non-zero status, triggering the ERR trap inherited from the & executing the rollback from php_restore.

The fix is to ensure the conditional lists do not return a non-zero status.

@twojstaryzdomu twojstaryzdomu changed the base branch from master to devel December 22, 2024 21:51
@theCalcaholic
Copy link
Collaborator

Thank you for the PR! I'll cherry-pick your commit due to the changed base branch and merge that way.

@theCalcaholic
Copy link
Collaborator

93364e5 has been cherry-picked into devel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants