diff --git a/lemp.sh b/lemp.sh index 94ed9d7..12374f4 100755 --- a/lemp.sh +++ b/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