documenting USE_VALIDATION_AGENT in configuration
[monkeysphere.git] / src / share / mh / revoke_name
index d080704b75b9f7e3410bc732a19566548ab492bd..532cb3001898ba4b9fd94b42088c81ad03207bf8 100644 (file)
@@ -35,7 +35,7 @@ keyID=$(check_key_input "$@")
 check_key_userid "$keyID" "$serviceName" || \
     failure "No non-revoked service name found matching '$serviceName'."
 
-if [ "$PROMPT" = "true" ] ; then
+if [ "$PROMPT" != "false" ] ; then
     printf "The following service name on key '$keyID' will be revoked:\n  %s\nAre you sure you would like to revoke this service name? (Y/n) " "$serviceName" >&2
     read OK; OK=${OK:=Y}
     if [ "${OK/y/Y}" != 'Y' ] ; then
@@ -58,7 +58,7 @@ if (cat "$GNUPGHOME_HOST/secring.gpg" && gpg_host --export "$keyID") \
 
     gpg_host --check-trustdb
 
-    update_gpg_pub_file
+    update_pgp_pub_file
 
     show_key "$keyID"