From: Daniel Kahn Gillmor Date: Sun, 14 Mar 2010 13:50:57 +0000 (-0400) Subject: warn if keyserver query fails (Closes: MS #1750) X-Git-Tag: monkeysphere_0.29~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc52882f7ecf895377bfbf65833c6a699be4ab28;p=monkeysphere.git warn if keyserver query fails (Closes: MS #1750) --- diff --git a/src/share/common b/src/share/common index 37f5305..cabc378 100644 --- a/src/share/common +++ b/src/share/common @@ -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" }