summaryrefslogtreecommitdiff
path: root/src/monkeysphere
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-03-01 14:02:35 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-03-01 14:02:35 -0500
commit183d64eed7eb9724ca6c96f656cb02f475158d0e (patch)
tree88a0bb3a467ed4df8904b70caea0720c7100c9b7 /src/monkeysphere
parent5de3fdc4fc82f56175f52f6e46065f56e858d97c (diff)
normalizing failure invocations in check_gpg_sec_key_id().
Diffstat (limited to 'src/monkeysphere')
-rwxr-xr-xsrc/monkeysphere8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/monkeysphere b/src/monkeysphere
index 809b1ac..2d54376 100755
--- a/src/monkeysphere
+++ b/src/monkeysphere
@@ -86,10 +86,10 @@ check_gpg_sec_key_id() {
echo "$gpgSecOut" | cut -d: -f5
;;
*)
- echo "Multiple primary secret keys found:" >&2
- echo "$gpgSecOut" | cut -d: -f5 >&2
- echo "Please specify which primary key to use." >&2
- failure
+ local seckeys=$(echo "$gpgSecOut" | cut -d: -f5)
+ failure "Multiple primary secret keys found:
+$seckeys
+Please specify which primary key to use."
;;
esac
}