warn if keyserver query fails (Closes: MS #1750)
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 14 Mar 2010 13:50:57 +0000 (09:50 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 14 Mar 2010 14:01:26 +0000 (10:01 -0400)
src/share/common

index 37f5305a46022f59ea2ed2a1c7e1d2cb76ac4a38..cabc378f05729bf29e673ee0499bca55d4911748 100644 (file)
@@ -581,6 +581,10 @@ gpg_fetch_userid() {
        --search ="$userID" &>/dev/null
     returnCode="$?"
 
+    if [ "$returnCode" != 0 ] ; then
+        log error "Failure ($returnCode) searching keyserver $KEYSERVER for user id '$userID'"
+    fi
+
     return "$returnCode"
 }