>> Here is a more practical example which demonstrates the problem: >> >> $ echo false | dbclient -T r...@host.example.com >> $ echo $? >> 0 > > I think this should now _really_ be fixed with > https://secure.ucc.asn.au/hg/dropbear/rev/79eef94ccea9 > > dbclient was ignoring all packets for channels that were in the process > of being closed, which included exit status messages.
This seems to work. I applied this change to an otherwise vanilla dropbear-2018.76, and it seemed to solve the problem. Thank you! -- Mike :wq