fix
This commit is contained in:
4
lemp.sh
4
lemp.sh
@@ -23,11 +23,11 @@ else
|
||||
fi
|
||||
|
||||
while :; do echo
|
||||
echo 'Please type MariaDB root password:'
|
||||
read -p "Please type MariaDB root password:(Default lemp.sh press Enter) " MariaDB_ROOT_PWD
|
||||
[ -z "$MariaDB_ROOT_PWD" ] && MariaDB_ROOT_PWD="lemp.sh"
|
||||
[ -n "`echo $MariaDB_ROOT_PWD | grep '[+|&]'`" ] && { echo "${CWARNING}input error,not contain a plus sign (+) and & ${CEND}"; continue; }
|
||||
done
|
||||
break;
|
||||
done
|
||||
|
||||
# Close SELINUX
|
||||
setenforce 0
|
||||
|
||||
Reference in New Issue
Block a user