From: Jameson Graef Rollins Date: Thu, 19 Feb 2009 08:59:09 +0000 (-0500) Subject: make sure fingerprint is loaded for update_gpg_pub_file X-Git-Tag: monkeysphere_0.23~47^2 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=b38d4458903d43bd59d6dfa04c8338ef12fd9a4c;p=monkeysphere.git make sure fingerprint is loaded for update_gpg_pub_file --- diff --git a/src/monkeysphere-host b/src/monkeysphere-host index 9e73ad2..00f7c34 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -110,7 +110,7 @@ load_fingerprint() { && rm -rf "$FUBAR") <"$HOST_KEY_FILE" \ | grep '^fpr:' | cut -d: -f10 ) else - HOST_FINGERPRINT= + failure "host key gpg pub file not found." fi } @@ -293,6 +293,7 @@ case $COMMAND in ;; 'update-gpg-pub-file') + load_fingerprint_secret update_gpg_pub_file ;;