From c74075ae34bf6dd035f42ce044046e6f273ae73d Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Thu, 6 May 2010 13:02:40 -0400 Subject: do not fail or bail when admin interactively declines to publish a key with m-h --- src/share/mh/publish_key | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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." -- cgit v1.2.3