diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-13 13:34:05 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-13 13:34:05 +0300 |
commit | 11aea04f6499b5cdade754c89bc435d851c23679 (patch) | |
tree | 8e1dded04652009f6709bb3c3e3ab5cdd28ab0fa | |
parent | e8202ef107932d6f944856089c8c13a89c1ab963 (diff) |
Change all auth trust prompts to "no default answer" instead of No
-rw-r--r-- | bpkg/auth.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index 0eef623..6ef9751 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -97,7 +97,7 @@ namespace bpkg (!co.trust_yes () && !yn_prompt ( string ("continue without authenticating repositories at " + - cert->name + "? [y/N]").c_str (), 'n'))) + cert->name + "? [y/n]").c_str ()))) throw failed (); return cert; @@ -507,7 +507,7 @@ namespace bpkg text << cert_fp; } - if (co.trust_no () || !yn_prompt ("trust this certificate? [y/N]", 'n')) + if (co.trust_no () || !yn_prompt ("trust this certificate? [y/n]")) throw failed (); return cert; |