Browse Source

Bug: contraseña vacia

Guzmán Castanedo Villalba 6 years ago
parent
commit
80948a572b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install

+ 1 - 1
install

@@ -375,7 +375,7 @@ leerSQLPasswd() {
 			printf "ERROR:\tInstalación interrumpida por el usuario.\n"
 			exit 2
 		fi
-		if [ $sqlPasswd != "" ] && [ $sqlPasswd = $sqlPasswd2 ];then
+		if [ -n $sqlPasswd ] && [ $sqlPasswd = $sqlPasswd2 ];then
 			control=true
 		fi
 	done