]> err.no Git - yubikey-personalization.old/commitdiff
Only write verbose messages when then verbose flag is true
authorlevitte <levitte@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Sun, 5 Oct 2008 07:39:15 +0000 (07:39 +0000)
committerlevitte <levitte@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Sun, 5 Oct 2008 07:39:15 +0000 (07:39 +0000)
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@28 b62f149e-849f-11dd-9899-c7ba65f7c4c7

ykpersonalize.c

index 2289293de9e0abe6c990460e8954c592278f5b80..61593ca66cce1a8079dae09665a0ae1792495419 100644 (file)
@@ -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;