From: 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_0.97-1~133 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58c9bd62d8b52aa78955a274fd539bc97bafe603;p=yubikey-personalization.old Only write verbose messages when then verbose flag is true git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@28 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- 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;