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

Do not copy the stage file to the success file until we notify success #382

Closed cPholloway closed 8 months ago

cPholloway commented 8 months ago

Case RE-228: The success file was reporting that elevate was still running. This occurred because we were copying the success file into place in stage 5 before elevate had been marked as being succesful. This change makes it so that we do not copy the stage file to the success file until after we have marked in the stage file that we succeeded and notified the customer that the process succeeded.

Changelog: Do not copy the stage file to the success file until we notify the user that the process succeeded

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