;;
*)
echo "Multiple primary secret keys found:"
- for key in $(echo "$gpgSecOut" | cut -d: -f5) ; do
- echo " $key"
- done
+ echo "$gpgSecOut" | cut -d: -f5
echo "Please specify which primary key to use."
failure
;;
if (( $(echo "$fingerprint" | wc -l) != 1 )) ; then
cat <<EOF
More than one fingerprint found:
- echo $fingerprint
+$fingerprint
Please use a more specific key ID.
EOF
failure
if (( $(echo "$fingerprint" | wc -l) != 1 )) ; then
cat <<EOF
More than one fingerprint found:
- echo $fingerprint
+$fingerprint
Please use a more specific key ID.
EOF
failure