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 math expression: illegal character: " #64

Open
frankcastro opened this issue Jun 9, 2022 · 1 comment
Open

bad math expression: illegal character: " #64

frankcastro opened this issue Jun 9, 2022 · 1 comment

Comments

@frankcastro
Copy link

I am sorry but I am getting this error when executing
sudo -s source ./installSpotbit.sh

./installSpotbit.sh:58: bad math expression: illegal character: "


-------Spotbit - Checking if logged in as root.

./installSpotbit.sh:88: = not found

Can you help me with this?

@nochiel
Copy link
Contributor

nochiel commented Jul 25, 2022

What output do you get when you try [ "a" == "b" ] && echo 1 || echo 0

Then try:
sudo -s bash -x ./installSpotbit.sh

Please share the last 5 lines of output at the error if you can't share the whole output trace.

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