diff options
author | Jameson Rollins <jrollins@finestructure.net> | 2010-01-18 23:38:14 -0500 |
---|---|---|
committer | Jameson Rollins <jrollins@finestructure.net> | 2010-01-18 23:38:14 -0500 |
commit | 8e1bd67f860f921743237c3e83ec8d6dfeaa5315 (patch) | |
tree | f4ba616fdf4235d5c6fc1636a4dae8e40a9605ae /src | |
parent | 71d180394c3357d2a99e9f1fc6a2fa7514552da9 (diff) |
tweak loading of fingerprints in multi_key wrapper function, so unnecessary error messages aren't output
Diffstat (limited to 'src')
-rwxr-xr-x | src/monkeysphere-host | 3 |
1 files changed, 2 insertions, 1 deletions
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 |