From: Richard Levitte Date: Sun, 5 Oct 2008 07:39:15 +0000 (+0000) Subject: Only write verbose messages when then verbose flag is true X-Git-Tag: yubikey-personalisation_1.3.5-1~4^2~198 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f2dbc74c62b22d177df3844ade86744e2beba56;p=yubikey-personalization Only write verbose messages when then verbose flag is true --- diff --git a/ykpersonalize.c b/ykpersonalize.c index 2289293..61593ca 100644 --- a/ykpersonalize.c +++ b/ykpersonalize.c @@ -186,7 +186,8 @@ main(int argc, char **argv) ykp_write_config(cfg, writer, stdout); exit_code = 0; } else { - printf(" failure\n"); + if (verbose) + printf(" failure\n"); } if (!yk_close_key(yk)) break;