diff --git a/docs/zzjumpserver.sh b/docs/zzjumpserver.sh index 170614523..98598ff18 100644 --- a/docs/zzjumpserver.sh +++ b/docs/zzjumpserver.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ $USER == 'admin' ] || [ $USER == 'root' ];then +if [ "$USER" == "admin" ] || [ "$USER" == "root" ] || [ "$USER" == "" ];then echo "" else python /opt/jumpserver/connect.py