summaryrefslogtreecommitdiff
path: root/src/monkeysphere-host
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-19 03:59:09 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-19 03:59:09 -0500
commitb38d4458903d43bd59d6dfa04c8338ef12fd9a4c (patch)
tree48920fbbf2c0df0b3530717d3268683b0bec9126 /src/monkeysphere-host
parent46f3e179ad569e247b85d86933ef1782fd1379f6 (diff)
make sure fingerprint is loaded for update_gpg_pub_file
Diffstat (limited to 'src/monkeysphere-host')
-rwxr-xr-xsrc/monkeysphere-host3
1 files changed, 2 insertions, 1 deletions
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
;;