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