fd0 / psha

6 stars 0 forks source link

Separate exit code if has mismatches are found #1

Open azurefreecovid opened 4 years ago

azurefreecovid commented 4 years ago

Hi @fd0 - I've been using this repo to check my backups made by the fantastic Restic (thanks for all your hard work on it!) on a remote box (that I have control of).

Would it be possible to add a separate exit code to psha so that I can distinguish in an easy way if a hash mismatch was found during the check?

fd0 commented 4 years ago

Sure, if you submit a PR :)