Kaseya Community

KcsSetup.sh install erroes

  • When I am trying to run sh ./KcsSetup.sh I get the following error:

    ./KcsSetup.sh: 31: Syntax error: "(" unexpected

    Line 31 is: declare -a Args=("$@")

    I have spent hours trying to get this to work can someone please help.

    Many thanks in advance

    Marcus

  • okay I sorted it by running bash ./KcsSetup.sh

  • Thanks for the workaround.   I am looking for this and got an answer right there.

    sudo bash ./KcsSetup.sh