소스 검색

Update _common.sh

Mickael-Martin 7 년 전
부모
커밋
c72d148043
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/_common.sh

+ 1 - 1
scripts/_common.sh

@@ -32,7 +32,7 @@ disable_guest_user(){
 #===================GET ADMIN DEFAULT USER STATE==============
 #return 0 if enable, else 1
 get_state_admin_user(){
-    return $($mysqlconn -BN -e "SELECT count(id) from \`users_groups\` where userid=1 and usrgrpid=9")
+    return $mysqlconn -BN -e "SELECT count(id) from \`users_groups\` where userid=1 and usrgrpid=9"
 }
 
 #================ DISABLE DEFAULT ADMIN USER ===================