diff options
Diffstat (limited to 'src/share/mh/revoke_name')
-rw-r--r-- | src/share/mh/revoke_name | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/mh/revoke_name b/src/share/mh/revoke_name index 7788327..532cb30 100644 --- a/src/share/mh/revoke_name +++ b/src/share/mh/revoke_name @@ -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 |