Adjust a equal judgement

pull/1/head
xxrenzhe 2014-12-07 20:43:13 +08:00
parent 2a2eb61658
commit a49b944e29
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
if [ $USER = 'admin' ] || [ $USER == 'root' ];then
if [ $USER == 'admin' ] || [ $USER == 'root' ];then
echo ""
else
python /opt/jumpserver/jumpserver.py
@ -10,4 +10,4 @@ else
exit 3
echo
fi
fi
fi