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

agent: move check for EROFS/EPERM outside of saveConfig #229

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

tklauser
Copy link
Collaborator

@tklauser tklauser commented Oct 5, 2023

Rather than duplicating the check in saveConfig, check for EROFS or EPERM on the error returned by saveConfig.

@tklauser tklauser requested a review from odeke-em October 5, 2023 19:44
Rather than duplicating the check in saveConfig, check for EROFS or
EPERM on the error returned by saveConfig.
@tklauser tklauser force-pushed the saveconfig-err-check branch from 46a5802 to ae39482 Compare October 6, 2023 08:20
@tklauser
Copy link
Collaborator Author

@odeke-em mind to take a quick look? 🙏

@odeke-em
Copy link
Collaborator

LGTM and thank you @tklauser!

@tklauser tklauser merged commit 582fc28 into master Oct 24, 2023
12 checks passed
@tklauser tklauser deleted the saveconfig-err-check branch October 24, 2023 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants