Invalid internally wrapped RC.
Brought to you by:
thesun
Return codes from the internal "wrapped" command overwrite the RC of SSHPass.
In short, if I have an RC of 5 from a command I run against an external host over SSHPass, then SSHPass will also return an RC of 5. SSHPass should instead return an RC of 3, and perhaps put the internal RC into stderr.
I discovered this because Ansible, which uses SSHPass as a dependency by default at my company, will close connections in rather ugly ways if a delegated command has an RC of 5, instead of handling it normally.