modify single user login bug

pull/7/merge
ibuler 2015-05-25 14:16:08 +08:00
parent 67b2467bc9
commit 38f89042ac
1 changed files with 1 additions and 1 deletions

View File

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