From: Jameson Rollins Date: Tue, 19 Jan 2010 04:38:14 +0000 (-0500) Subject: tweak loading of fingerprints in multi_key wrapper function, so unnecessary error... X-Git-Tag: monkeysphere_0.28~4^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e1bd67f860f921743237c3e83ec8d6dfeaa5315;p=monkeysphere.git tweak loading of fingerprints in multi_key wrapper function, so unnecessary error messages aren't output --- 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