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

failureExitCode should return higher number than 1 if user tries to lock an already locked file #378

Open
graysky2 opened this issue Mar 29, 2023 · 0 comments

Comments

@graysky2
Copy link

It would be helpful for scripts, if fscrypt would return an exit code other than 1 if the user triggers an ErrDirAlreadyLocked condition. Use case is for scripting actions. Can you change it to return an error code of 2 for example in the scenario of trying to lock a file that is already locked?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants