Corrections to consul discovery, 2
This commit is contained in:
parent
d6d52d2ea2
commit
f7537095dd
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ check() {
|
|||
return 2
|
||||
fi
|
||||
if [[ -x "$(which consul)" ]]; then
|
||||
CONSUL_PATH="$(basename "$(which consul)")"
|
||||
CONSUL_PATH="$(dirname "$(which consul)")"
|
||||
echo "Found Consul in $CONSUL_PATH"
|
||||
else
|
||||
echo "FATAL: Cannot execute Consul"
|
||||
|
|
Loading…
Reference in a new issue