aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-11-05 13:56:58 +0100
committerTom Gundersen <teg@jklm.no>2011-11-05 13:56:58 +0100
commit8b54494acdb9ceda7b24cb4b7c4ca98a5c2b00a6 (patch)
tree00ab1abe6f82c02ddb27d9c19304fd7030cf9f26 /functions
parent34714bf34e5928479e5ec4367e5e79902876dfa3 (diff)
downloadinitscripts-8b54494acdb9ceda7b24cb4b7c4ca98a5c2b00a6.tar.xz
bootlog: filter out some more escapecodes
In particular "^[[119G". Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 445391b..81328df 100644
--- a/functions
+++ b/functions
@@ -507,7 +507,7 @@ bootlogd_stop() {
kill $(< /run/bootlogd.pid)
rm -f /run/bootlogd.pid
sed -i -r -e 's/\^\[\[[0-9]?;?[0-9]?[0-9]?;?[0-9]?[0-9]?[ms]//g' \
- -e 's/\^\[(\[1?[0-9]1|%)G//g' -e 's/\^\[\[0;1//g' /var/log/boot
+ -e 's/\^\[(\[1?[0-9][0-9]|%)G//g' -e 's/\^\[\[0;1//g' /var/log/boot
}
###############################