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
commit 05f3eed94a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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