Exit code 127 for `restic forget`

Hi there,

I am creating a script that uses restic forget, and I’m getting an exit status code of 127. I’m wondering what this exit code means because everything seems to have worked properly but this exit code is not documented as it is for restic backup

It is standard shell exit code and it refers to “command not found”.

Please provide the complete command and its output from when you try to run it.