Merge pull request #18 from owl4ce/master

fixed: echo ansi color
This commit is contained in:
Emmett1
2021-03-20 00:51:38 +08:00
committed by GitHub

View File

@ -5,7 +5,7 @@ if type -p "sudo" &>/dev/null; then
elif type -p "doas" &>/dev/null; then
PRIV="doas"
else
echo "\e[1;31merror:\e[0m sudo/doas not found!"
echo -e "\e[1;31merror:\e[0m sudo/doas not found!"
exit 1
fi