From 8e1bd67f860f921743237c3e83ec8d6dfeaa5315 Mon Sep 17 00:00:00 2001 From: Jameson Rollins Date: Mon, 18 Jan 2010 23:38:14 -0500 Subject: [PATCH] tweak loading of fingerprints in multi_key wrapper function, so unnecessary error messages aren't output --- src/monkeysphere-host | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/monkeysphere-host b/src/monkeysphere-host index 5007cac..4d3edf4 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -251,11 +251,12 @@ multi_key() { shift local keys=$@ local i=0 - local fprs=($(list_primary_fingerprints <"$HOST_KEY_FILE")) local key check_no_keys + local fprs=($(list_primary_fingerprints <"$HOST_KEY_FILE")) + if [[ -z "$1" || "$1" == '--all' ]] ; then keys="${fprs[@]}" fi -- 2.26.2