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 substitution #52

Open
eisengrau opened this issue Nov 27, 2020 · 1 comment
Open

Bad substitution #52

eisengrau opened this issue Nov 27, 2020 · 1 comment

Comments

@eisengrau
Copy link

Hello,

I get the following log each time ydns_updater.sh runs:

/root/ydns_updater.sh: 70: /root/ydns_updater.sh: Bad substitution

I have checked the line, it is echo ${ret//[[:space:]]/}

I never got it previously, and I don't remember changing something in the system. Maybe some package is missing after an update?

@florinbarbisch
Copy link

I get the same error when I run sh ydns-updater.sh.
I don't receive an error when I run ./ydns-updater.sh or bash ydns-updater.sh.

Here's a stackoverflow post related to this problem: https://stackoverflow.com/q/20615217/10935646

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