From: Adam Chlipala Date: Thu, 17 May 2007 19:03:22 +0000 (+0000) Subject: More helpful error message when you run domtool-adduser off deleuze X-Git-Tag: release_2010-11-19~212 X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/commitdiff_plain/2ce8fb3fe6c8e9b2b714f0e578e5332d9ff1d6cf More helpful error message when you run domtool-adduser off deleuze --- diff --git a/scripts/domtool-adduser b/scripts/domtool-adduser index 3133cff..c8497ee 100755 --- a/scripts/domtool-adduser +++ b/scripts/domtool-adduser @@ -1,4 +1,9 @@ #!/bin/sh -e +if ! [ -e /etc/domtool ]; then + echo "/etc/domtool not found. Are you running this on the same machine as domtool-server?" + exit 1 +fi + domtool-addcert $* domtool-addacl $*