Skip to content

bad math expression: illegal character: " #64

Open

Description

@frankcastro

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?

Activity

  1. nochiel commented on Jul 25, 2022

    @nochiel
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions