summaryrefslogtreecommitdiff
path: root/src/share/mh/publish_key
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-05-06 13:02:40 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-05-06 13:02:40 -0400
commitc74075ae34bf6dd035f42ce044046e6f273ae73d (patch)
tree2c49123c015b47c010ebfb5852e36cbe24a2eebb /src/share/mh/publish_key
parente6a41995792ee8b7a3dbce1e763e40447e45755f (diff)
do not fail or bail when admin interactively declines to publish a key with m-h
Diffstat (limited to 'src/share/mh/publish_key')
-rw-r--r--src/share/mh/publish_key3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/share/mh/publish_key b/src/share/mh/publish_key
index 72d2693..52c8b86 100644
--- a/src/share/mh/publish_key
+++ b/src/share/mh/publish_key
@@ -22,7 +22,8 @@ if [ "$PROMPT" != "false" ] ; then
printf "Really publish key '$keyID' to $KEYSERVER? (Y/n) " >&2
read OK; OK=${OK:=Y}
if [ "${OK/y/Y}" != 'Y' ] ; then
- failure "key not published."
+ log error "key not published."
+ return
fi
else
log debug "publishing key '$keyID' without prompting."