diff --git a/install_pve6.sh b/install_pve6.sh index a93b7a7..c7a4ad5 100644 --- a/install_pve6.sh +++ b/install_pve6.sh @@ -7,7 +7,7 @@ _red() { echo -e "\033[31m\033[01m$@\033[0m"; } _green() { echo -e "\033[32m\033[01m$@\033[0m"; } _yellow() { echo -e "\033[33m\033[01m$@\033[0m"; } _blue() { echo -e "\033[36m\033[01m$@\033[0m"; } -reading(){ read -rp "$(green "$1")" "$2"; } +reading(){ read -rp "$(_green "$1")" "$2"; } # 前置环境安装 if [ "$(id -u)" != "0" ]; then