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

Fix restore_user_files error checking #40

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

daph
Copy link
Contributor

@daph daph commented Nov 10, 2023

The _restore_user_files function returns False if there was failure and True for success.
The error check was checking for True and returning, thus quitting the linux updater early and not finishing the update if you successfully restored files.

Function returns False if failure and True for success
The error check was checking for True and returning instead of False
Copy link
Member

@theypsilon theypsilon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very good catch, thanks for taking care of sending this PR!

@theypsilon theypsilon merged commit e7aeb82 into MiSTer-devel:main Nov 10, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants