on fatal errors, make scp wait for ssh connection before exiting
authordjm <djm@openbsd.org>
Mon, 9 Aug 2021 07:21:01 +0000 (07:21 +0000)
committerdjm <djm@openbsd.org>
Mon, 9 Aug 2021 07:21:01 +0000 (07:21 +0000)
commit36fe1577d6a3fc8dd92d7e09387004088b713cd3
treecfeeb7664509ed5009a15751af2b115b23b81f6a
parent35bbd401a0fb6974a63b5b183c686f5723034bab
on fatal errors, make scp wait for ssh connection before exiting
avoids LogLevel=verbose (or greater) messages from ssh appearing
after scp has returned exited and control has returned to the
shell; ok markus@

(this was originally committed as r1.223 along with unrelated stuff that
I rolled back in r1.224)
usr.bin/ssh/scp.c