Skip to content

Commit

Permalink
Fix -q to hide the banner
Browse files Browse the repository at this point in the history
Got lost merging the DEBUG/TRACE level patch
  • Loading branch information
mkj committed Apr 1, 2022
1 parent dd305c1 commit c6e2d50
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cli-auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit c6e2d50

Please sign in to comment.