Browse Source

Bug: error en instalarPHP()

Guzmán Castanedo Villalba 5 years ago
parent
commit
5165ab5924
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install

+ 1 - 1
install

@@ -566,7 +566,7 @@ instalarPHP() {
 		# Instalamos PHP-7.2
 		if [ $apacheOn = true ];then
 			result=$(yum -y install php72 php72-php-pecl-mysql php72-php-intl php72-php-mbstring php72-php-pecl-mcrypt openssl 2>&1)
-			comprobarError 1 302 $result
+			comprobarError $? 302 $result
 		elif [ $nginxOn = true ];then
 			result=$(yum -y install php72 php72-php-fpm php72-php-pecl-mysql php72-php-intl php72-php-mbstring php72-php-pecl-mcrypt openssl 2>&1)
 			comprobarError $? 302 $result