summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Blakeney2022-08-01 20:31:52 +1000
committerMark Blakeney2022-08-01 20:31:52 +1000
commitb440813227a3f0bb18ca9b48980dc79230c97b34 (patch)
tree4f7f1df01f96f9bdbf68c95749664bb36e18ec55
parentf3750ead680ec27a9f8e407639fdb3e03fc4a0ae (diff)
downloadaur-b440813227a3f0bb18ca9b48980dc79230c97b34.tar.gz
Ensure we reset terminal color in install.sh
-rw-r--r--install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index a0ac241d9fbf..4d02183d6b3b 100644
--- a/install.sh
+++ b/install.sh
@@ -4,13 +4,14 @@ _userns="kernel.unprivileged_userns_clone"
post_install() {
userns="$(sysctl -n $_userns 2>/dev/null)"
if [[ $? -ne 0 || $userns -ne 1 ]]; then
- echo -ne "\e[34;1m"
+ echo -e "\e[34;1m"
echo ===
echo === !!! WARNING !!!
echo ===
echo === $_userns is not set on this system.
echo === You will need to set it manually so $_pkgname can start.
echo ===
+ echo -e "\033[0m"
fi
}