From: Clinton Ebadi Date: Fri, 25 Apr 2014 21:48:42 +0000 (-0400) Subject: domtool-adduser: use domtool-config to find ca X-Git-Tag: release_20140428~11 X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/commitdiff_plain/35d714e36d9b26c2951e7d4ff10cf247042a3a8f?ds=sidebyside domtool-adduser: use domtool-config to find ca --- 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