Fixing consul script not reading config

This commit is contained in:
Eric Renfro 2023-12-15 10:39:20 -05:00
parent ece493b83c
commit 75c7d64d26
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
1 changed files with 1 additions and 1 deletions

View File

@ -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"