Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad variable name #30

Closed
dcatalano-fhoster opened this issue Jan 16, 2025 · 1 comment
Closed

Bad variable name #30

dcatalano-fhoster opened this issue Jan 16, 2025 · 1 comment

Comments

@dcatalano-fhoster
Copy link

On my Linux Mint 20.3 I can't execute script:

dcatalano@laptop08:~/elastic$ curl -fsSL https://elastic.co/start-local | sh

  ______ _           _   _      
 |  ____| |         | | (_)     
 | |__  | | __ _ ___| |_ _  ___ 
 |  __| | |/ _` / __| __| |/ __|
 | |____| | (_| \__ \ |_| | (__ 
 |______|_|\__,_|___/\__|_|\___|
-------------------------------------------------
🚀 Run Elasticsearch and Kibana for local testing
-------------------------------------------------

ℹ️  Do not use this script in a production environment

sh: 204: local: livebase-mariadb_10_3_14-1: bad variable name

livebase-mariadb_10_3_14-1 is the name of a container running on my machine.

I solved adding quotes at line 204 trasforming

local containers=$(docker ps --format '{{.Names}}')

into

local containers="$(docker ps --format '{{.Names}}')"

ezimuel added a commit that referenced this issue Jan 20, 2025
@ezimuel
Copy link
Collaborator

ezimuel commented Jan 20, 2025

Fixed in 885556f, thanks @dcatalano-fhoster

@ezimuel ezimuel closed this as completed Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants