From a49b944e2994688dc7f81d10c8c042ea9945a812 Mon Sep 17 00:00:00 2001 From: xxrenzhe Date: Sun, 7 Dec 2014 20:43:13 +0800 Subject: [PATCH] Adjust a equal judgement --- jumpserver.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jumpserver.sh b/jumpserver.sh index 42afe65ec..b59520a03 100644 --- a/jumpserver.sh +++ b/jumpserver.sh @@ -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 \ No newline at end of file +fi