fscrypt icon indicating copy to clipboard operation
fscrypt copied to clipboard

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

Open graysky2 opened this issue 2 years ago • 0 comments

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?

graysky2 avatar Mar 29 '23 11:03 graysky2