Fix incorrect Bash syntax in Lua check