summaryrefslogtreecommitdiff
path: root/src/share/ma
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-19 01:20:33 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-19 01:20:33 -0500
commit4465c13b93d3d4bc1cb59c5506775b4fc0274058 (patch)
tree31cf38794af37a7c3ef8e34a8d3e496449cf4aa7 /src/share/ma
parenta7d9d68be60e5d46c016806a47227cd2f2e5a6c7 (diff)
tweak some of the prompting, to change defaults, and add PROMPT usage where missing
Diffstat (limited to 'src/share/ma')
-rw-r--r--src/share/ma/add_certifier2
-rw-r--r--src/share/ma/remove_certifier2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/share/ma/add_certifier b/src/share/ma/add_certifier
index b917a74..9865e5c 100644
--- a/src/share/ma/add_certifier
+++ b/src/share/ma/add_certifier
@@ -111,7 +111,7 @@ gpg_sphere "--fingerprint 0x${fingerprint}!"
if [ "$PROMPT" = "true" ] ; then
echo "Are you sure you want to add the above key as a"
- read -p "certifier of users on this system? (y/N) " OK; OK=${OK:-N}
+ read -p "certifier of users on this system? (Y/n) " OK; OK=${OK:-Y}
if [ "${OK/y/Y}" != 'Y' ] ; then
failure "Identity certifier not added."
fi
diff --git a/src/share/ma/remove_certifier b/src/share/ma/remove_certifier
index 10aa67b..95f6dff 100644
--- a/src/share/ma/remove_certifier
+++ b/src/share/ma/remove_certifier
@@ -27,7 +27,7 @@ fi
gpg_core --list-key --fingerprint "0x${keyID}!" || failure
if [ "$PROMPT" = "true" ] ; then
- read -p "Really remove above listed identity certifier? (y/N) " OK; OK=${OK:-N}
+ read -p "Really remove above listed identity certifier? (Y/n) " OK; OK=${OK:-Y}
if [ "${OK/y/Y}" != 'Y' ] ; then
failure "Identity certifier not removed."
fi