summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-09-24 22:50:46 +0200
committerTom Gundersen <teg@jklm.no>2011-09-25 00:56:57 +0200
commit71fe1590598381588502e58b60622b0b72d79454 (patch)
treea26dc3533a8bcc0b51f8c84356c569aecd4f18a9
parentf90526071644423b67a9ba4b0421f94b890dee89 (diff)
bootlog: clean some more ANSI codes2011.09.1
I was getting "^[71G", this fixed it. Signed-off-by: Tom Gundersen <teg@jklm.no>
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 0eb905f..ab6d9ae 100644
--- a/functions
+++ b/functions
@@ -466,7 +466,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]1|%)G//g' -e 's/\^\[\[0;1//g' /var/log/boot
}
###############################