X-Git-Url: https://git.distorted.org.uk/~mdw/ca/blobdiff_plain/00e8593b9d1fbacc38fe78077a1e6fc41606704f..0f9d9bad47d069fb05f3f1d937c42125a14c95ea:/bin/add diff --git a/bin/add b/bin/add index bf144ae..d4eae0f 100755 --- a/bin/add +++ b/bin/add @@ -70,7 +70,7 @@ db transaction { ## Check whether the profile exists. if {![db exists { - SELECT 1 FROM profile WHERE label = $profile; + SELECT 1 FROM profile WHERE label = $profile AND tombstone = 0; }]} { error "unknown profile `$profile'" }