HCoop
/
hcoop
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
35dc774
)
More helpful error message when you run domtool-adduser off deleuze
author
Adam Chlipala
<adamc@hcoop.net>
Thu, 17 May 2007 19:03:22 +0000
(19:03 +0000)
committer
Adam Chlipala
<adamc@hcoop.net>
Thu, 17 May 2007 19:03:22 +0000
(19:03 +0000)
scripts/domtool-adduser
patch
|
blob
|
blame
|
history
diff --git
a/scripts/domtool-adduser
b/scripts/domtool-adduser
index
3133cff
..
c8497ee
100755
(executable)
--- a/
scripts/domtool-adduser
+++ b/
scripts/domtool-adduser
@@
-1,4
+1,9
@@
#!/bin/sh -e
#!/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 $*
domtool-addcert $*
domtool-addacl $*