Skip to content

Conversation

@neiser
Copy link

@neiser neiser commented Feb 16, 2022

When I run the nsenter-node.sh script without this change, I get the following error:

/home/agr/.bin/nsenter-node.sh: 9: Bad substitution

I think that's because /bin/sh is not bash on my system. So let's explicitly declare in the shebang that we use bash. Also use the recommended /usr/bin/env to find the path to bash.

When I run the `nsenter-node.sh` script without this change, I get the following error:
```
/home/agr/.bin/nsenter-node.sh: 9: Bad substitution
```
I think that's because `/bin/sh` is not bash on my system. So let's explicitly declare in the shebang that we use bash. Also use the recommended `/usr/bin/env` to find the path to bash.
@liyihuang
Copy link

I also have this issue and hope this can be merged to the main

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

Successfully merging this pull request may close these issues.

2 participants