X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/2ce8fb3fe6c8e9b2b714f0e578e5332d9ff1d6cf..4f464516678246f921858db0e8af76a3b87d74bd:/scripts/domtool-adduser diff --git a/scripts/domtool-adduser b/scripts/domtool-adduser index c8497ee..34a82a5 100755 --- a/scripts/domtool-adduser +++ b/scripts/domtool-adduser @@ -1,7 +1,7 @@ #!/bin/sh -e -if ! [ -e /etc/domtool ]; then - echo "/etc/domtool not found. Are you running this on the same machine as domtool-server?" +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