Minor improvements (#1494)

* Minor improvements

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2024-06-08 16:50:40 +07:00 committed by GitHub
commit bb3d4e6345
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 5 deletions

View file

@ -69,7 +69,9 @@ if (is_file(RESTORE_CORRUPT_CONFIRM_FILE)) {
}
// Delete restore confirm file & build file
unlink($buildDownloader->savePath);
if (isset($buildDownloader->savePath)) {
unlink($buildDownloader->savePath);
}
unlink(RESTORE_CORRUPT_CONFIRM_FILE);
}