From 11aea04f6499b5cdade754c89bc435d851c23679 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 13 Sep 2016 13:34:05 +0300 Subject: Change all auth trust prompts to "no default answer" instead of No --- bpkg/auth.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg') 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; -- cgit v1.1