Fixing consul script not reading config
This commit is contained in:
parent
ece493b83c
commit
75c7d64d26
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ check() {
|
|||
fi
|
||||
|
||||
if [[ -n "$CONSUL_PATH" ]]; then
|
||||
if [[ -x "${CONSUL_PATH/consul}" ]]; then
|
||||
if [[ -x "${CONSUL_PATH}/consul}" ]]; then
|
||||
echo "Found Consul in $CONSUL_PATH"
|
||||
else
|
||||
echo "FATAL: Cannot execute Consul"
|
||||
|
|
Loading…
Reference in a new issue