X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/385c3534feda76934476fd3a058574fc84e302da..35d714e36d9b26c2951e7d4ff10cf247042a3a8f:/scripts/domtool-adduser diff --git a/scripts/domtool-adduser b/scripts/domtool-adduser index 3133cff..34a82a5 100755 --- a/scripts/domtool-adduser +++ b/scripts/domtool-adduser @@ -1,4 +1,9 @@ #!/bin/sh -e +if ! [ -e `domtool-config -path cert ca` ]; then + echo "domtool ca not found. Are you running this on the same machine as domtool-server?" + exit 1 +fi + domtool-addcert $* domtool-addacl $*