Commit 38d6a4e7 authored by John Morrissey's avatar John Morrissey Committed by David Woodhouse

Don't emit the login banner and/or message when -q is used

Signed-off-by: default avatarJohn Morrissey <>
Signed-off-by: default avatarDavid Woodhouse <>
parent 76970c9c
......@@ -1055,13 +1055,13 @@ static int process_auth_form(void *_vpninfo,
char response[1024];
char *p;
if (form->banner)
if (form->banner && verbose > PRG_ERR)
fprintf(stderr, "%s\n", form->banner);
if (form->error)
fprintf(stderr, "%s\n", form->error);
if (form->message)
if (form->message && verbose > PRG_ERR)
fprintf(stderr, "%s\n", form->message);
/* scan for select options first so they are displayed first */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment