diff options
Diffstat (limited to 'src/share/mh/add_name')
-rw-r--r-- | src/share/mh/add_name | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/share/mh/add_name b/src/share/mh/add_name index 0eeefb7..754ced4 100644 --- a/src/share/mh/add_name +++ b/src/share/mh/add_name @@ -34,6 +34,9 @@ keyID=$(check_key_input "$@") check_key_userid "$keyID" "$serviceName" && \ failure "Service name '$serviceName' already exists on key '$keyID'." +# test that a key with that user ID does not already exist +prompt_userid_exists "$serviceName" + check_service_name "$serviceName" if [ "$PROMPT" = "true" ] ; then |