Skip to content

Commit

Permalink
Fix Bash syntax error with multiple conditions on ES and Kibana
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose M authored and manuasir committed Jul 17, 2019
1 parent 3aff6de commit e00cd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibana/config/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ else
el_url="${ELASTICSEARCH_URL}"
fi

if [ ${ENABLED_XPACK} != "true" || "x${ELASTICSEARCH_USERNAME}" = "x" || "x${ELASTICSEARCH_PASSWORD}" = "x" ]; then
if [[ ${ENABLED_XPACK} != "true" || "x${ELASTICSEARCH_USERNAME}" = "x" || "x${ELASTICSEARCH_PASSWORD}" = "x" ]]; then
auth=""
else
auth="--user ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}"
Expand Down

0 comments on commit e00cd10

Please sign in to comment.