If condition giving syntax error. Need help

I don’t know anything about .sh, but from the info the error message is giving, it seems there is a single quote (') near the last ] ?