修补之前再部分macOS设备出现的颜色显示问题:替换macOS中bash-3.1不支持的部分指令

This commit is contained in:
tsosunchia
2022-05-27 19:34:35 +08:00
parent eb77a2b69b
commit ac33c086c6

View File

@@ -10,7 +10,7 @@ fi
usrPath="/usr/local/bin"
function red() {
echo -e "\e[1;31m$1\e[0m"
echo -e "\033[31m"${1}"\033[0m"
}
checkRootPermit() {