diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-03-01 14:02:35 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-03-01 14:02:35 -0500 |
commit | 183d64eed7eb9724ca6c96f656cb02f475158d0e (patch) | |
tree | 88a0bb3a467ed4df8904b70caea0720c7100c9b7 /src | |
parent | 5de3fdc4fc82f56175f52f6e46065f56e858d97c (diff) |
normalizing failure invocations in check_gpg_sec_key_id().
Diffstat (limited to 'src')
-rwxr-xr-x | src/monkeysphere | 8 |
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 } |