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

-env should only propagate env var if it's set #17

Closed
jlebon opened this issue Feb 17, 2023 · 0 comments
Closed

-env should only propagate env var if it's set #17

jlebon opened this issue Feb 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jlebon
Copy link

jlebon commented Feb 17, 2023

I expected -env to no-op if the variable isn't set. But it looks like it still defines the variable and sets its value to the empty string:

$ host-spawn -env NONEXISTENT_VAR env | grep NONEXISTENT_VAR
NONEXISTENT_VAR=
@1player 1player added the bug Something isn't working label Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants