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

Using jemalloc.sh should have some sort of additional shell output #1

Open
nateberkopec opened this issue Jan 15, 2016 · 0 comments
Open

Comments

@nateberkopec
Copy link
Collaborator

Example:

$ tcmalloc puma
Injecting tcmalloc...

It would just help with debugging as a bit of an "idiot test".

mojodna added a commit that referenced this issue Jun 24, 2016
bf4 pushed a commit to bf4/heroku-buildpack-jemalloc that referenced this issue Sep 3, 2018
When loading profile.d/jemalloc we would get the below error. It boils
down to asking bash to do a string comparison when the left side wasn't
a string. The fix is to force the left side to be a string. So, if it's
unset, the comparison becomes `"" = "true"`.

```
/app/.profile.d/jemalloc.sh: line 5: [: =: unary operator expected
```

Fixes mojodna#1
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

1 participant