Fix -q to hide the banner

Got lost merging the DEBUG/TRACE level patch
This commit is contained in:
Matt Johnston 2022-04-01 14:33:27 +08:00
parent dd305c1533
commit c6e2d50310

View File

@ -82,6 +82,11 @@ void recv_msg_userauth_banner() {
return;
}
if (cli_opts.quiet) {
TRACE(("not showing banner"))
return;
}
banner = buf_getstring(ses.payload, &bannerlen);
buf_eatstring(ses.payload); /* The language string */