Commit db5c4ce6 authored by Thomas Haller's avatar Thomas Haller

keyfile: reuse duplicate check from update_connection() in add_connection()

Also during add_connection() we must take special care of not "adding" a
connection with a conflicting UUID. In that case we want to fallback to

update_connection() already does all the checks, so call
update_connection() from add_connection().
parent 5c2fa920
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment