diff --git a/install/zzjumpserver.sh b/install/zzjumpserver.sh index 11c7a3335..40d9ae8d7 100644 --- a/install/zzjumpserver.sh +++ b/install/zzjumpserver.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ "$USER" != "admin" ] || [ "$USER" != "root" ] || [ "$USER" != "" ];then +if [ "$USER" != "admin" ] && [ "$USER" != "root" ];then python /opt/jumpserver/connect.py if [ $USER == 'guanghongwei' ];then echo