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

set -u causes injected scripts to fail #685

Open
plengauer opened this issue Sep 27, 2024 · 1 comment
Open

set -u causes injected scripts to fail #685

plengauer opened this issue Sep 27, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@plengauer
Copy link
Owner

set -u treats unset variable expansion as errors.
when a script is auto injected, _root_span_handle is unset
also, LINENO is unset in ubuntu dash's

@plengauer plengauer added the bug Something isn't working label Sep 27, 2024
@plengauer plengauer self-assigned this Sep 27, 2024
@plengauer
Copy link
Owner Author

ubuntu@ip-172-31-41-64:~$ lsb_release -a
/usr/bin/lsb_release: 36: /tmp/tmp.yvaPMGcrJN: LINENO: parameter not set
/usr/bin/lsb_release: 452: _root_span_handle: parameter not set

@plengauer plengauer linked a pull request Sep 28, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant