提示语法错误,麻烦看看

提示语法错误,麻烦看看

以下是我用bash写的一个函数, 系统提示语法错误:
,谁能看看错误出在哪?
复制内容到剪贴板
代码:
# !/bin/bash
# Script Name: AllWebLock.sh
function AllUser(){
find ~/var/user -type f > ~/tmp/user.txt
max=`wc -l users.txt | gawk '{print $1}'`
for ((line=1;line<=max;line++))
{
  username=$(basename `sed -n ${line}p users.txt`)
  if [[ $username -ne 5sky -o $username -ne hashal -o $username -ne littleworm -o $username -ne hostloader ]] ; then
     echo "/lockweb $username"
  fi
}
}

$AllWebLock.sh
AllWebLock.sh: line 9: syntax error in conditional expression
AllWebLock.sh: line 9: syntax error near unexpected token `-o'
AllWebLock.sh: line 9: ` if [[ $username -ne 5sky -o $username -ne hashal -o $username -ne littleworm -o $username -ne hostloader ]] ; then '
      
use || instead of -o