Explorar el Código

Update _common.sh

Mickael-Martin hace 6 años
padre
commit
c72d148043
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 ===================