summaryrefslogtreecommitdiff
path: root/src/share/mh/import_key
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/mh/import_key')
-rw-r--r--src/share/mh/import_key3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/share/mh/import_key b/src/share/mh/import_key
index 1b6f267..0f362b8 100644
--- a/src/share/mh/import_key
+++ b/src/share/mh/import_key
@@ -27,8 +27,7 @@ if [ -z "$serviceName" ] ; then
fi
# test that a key with that user ID does not already exist
-check_key_userid "$serviceName" "$serviceName" && \
- failure "A key with service name '$serviceName' already exists."
+prompt_userid_exists "$serviceName"
# check that the service name is well formatted
check_service_name "$serviceName"