cpanel / elevate

elevate your cPanel&WHM CentOS 7 server to Almalinux 8
https://cpanel.github.io/elevate/
BSD 2-Clause "Simplified" License
45 stars 30 forks source link

Add blocker for invalid CloudLinux licenses #379

Closed cPholloway closed 6 months ago

cPholloway commented 6 months ago

Case RE-173: CloudLinux's fork of ELevate verifies that the CloudLinux licese is valid and inhibits the elevation process from starting if it is not. Due to this, we need to block if the CloudLinux license is not valid in order to avoid leaving the system in a broken state.

Additionally, I fixed a bug where the argument would not be numeric in exit when blockers were set to abort on the first blocker, and a bug where the blocker was not added before dying in this same situation which would result in the elevate-blockers file essentially being null.

Changelog: Add blocker for invalid CloudLinux licenses

By submitting pull requests to this repo, I agree to the Contributor License Agreement which can be found at: https://github.com/cpanel/elevate/blob/main/docs/cPanel-CLA.pdf