summaryrefslogtreecommitdiff
path: root/src/monkeysphere
diff options
context:
space:
mode:
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
}