fouldecrypt icon indicating copy to clipboard operation
fouldecrypt copied to clipboard

Fix ignored error code

Open ViRb3 opened this issue 2 years ago • 0 comments

Previously, getting decryption failure would be ignored and return code 0 (success) even though it is not:

mremap_encrypted: Operation not permitted
<continues>
<code 0>

This PR checks for the return code of mremap_encrypted, and if errored, cancels decryption and propagates it back to the shell.

ViRb3 avatar Mar 22 '22 23:03 ViRb3