Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nc-limits.sh: Do not trigger ERR trap due to failed tests #2026

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from

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
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