From 35d714e36d9b26c2951e7d4ff10cf247042a3a8f Mon Sep 17 00:00:00 2001 From: Clinton Ebadi Date: Fri, 25 Apr 2014 17:48:42 -0400 Subject: [PATCH] domtool-adduser: use domtool-config to find ca --- scripts/domtool-adduser | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1