From 58c9bd62d8b52aa78955a274fd539bc97bafe603 Mon Sep 17 00:00:00 2001 From: levitte Date: Sun, 5 Oct 2008 07:39:15 +0000 Subject: [PATCH] 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 --- ykpersonalize.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5