summaryrefslogtreecommitdiff
path: root/utils/filtron.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-01-31 18:24:31 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-01-31 18:24:31 +0100
commit56a93ee77006499b869b2fa067b72b0171710c61 (patch)
treeb80326c0d47bd06e97d2886c0cea9e5537ad670f /utils/filtron.sh
parent1e3d2f680077bcfcb3201821df175fcf986c5f7a (diff)
utils/lib.sh: colorize messages
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/filtron.sh')
-rwxr-xr-xutils/filtron.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/filtron.sh b/utils/filtron.sh
index 528bedff2..8283c9664 100755
--- a/utils/filtron.sh
+++ b/utils/filtron.sh
@@ -287,7 +287,7 @@ remove_user() {
}
interactive_shell(){
- echo "// exit with CTRL-D"
+ echo "// exit with ${_BCyan}CTRL-D${_creset}"
sudo -H -u ${SERVICE_USER} -i
}
@@ -397,7 +397,9 @@ EOF
echo
systemctl --no-pager -l status filtron.service
echo
- read -r -s -n1 -t 2 -p "// use CTRL-C to stop monitoring the log"
+ # shellcheck disable=SC2059
+ printf "// use ${_BCyan}CTRL-C${_creset} to stop monitoring the log"
+ read -r -s -n1 -t 2
echo
while true; do
trap break 2