fixed: echo ansi color

This commit is contained in:
ʜᴀʀʀʏ 2021-03-18 05:17:30 +07:00 committed by GitHub
parent 0ad0173cdd
commit 938cb55056
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