summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Blakeney2022-08-01 20:33:36 +1000
committerMark Blakeney2022-08-01 20:33:36 +1000
commit34819ff25ef01da6c358504cebca04b7af21856d (patch)
tree715a761d6640813598277cc3c0fce27ee669adf2
parent9418f8da0e538a3b07a647b362175cf26f134f17 (diff)
downloadaur-34819ff25ef01da6c358504cebca04b7af21856d.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
}