X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/9e3f2290d1fddb64c59de3d265e9228a334e9682..35d714e36d9b26c2951e7d4ff10cf247042a3a8f:/scripts/domtool-adduser?ds=sidebyside 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