projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
082aac8
)
don't use colors/escape sequences if running in dump terminal
author
Michael Prokop
<mika@grml.org>
Fri, 25 Nov 2011 18:09:27 +0000
(19:09 +0100)
committer
Michael Prokop
<mika@grml.org>
Fri, 25 Nov 2011 18:09:42 +0000
(19:09 +0100)
grml-live
patch
|
blob
|
history
diff --git
a/grml-live
b/grml-live
index
ca23f83
..
36581d1
100755
(executable)
--- a/
grml-live
+++ b/
grml-live
@@
-118,6
+118,12
@@
BUILD_DIRTY=''
BOOTSTRAP_ONLY=''
HOSTNAME=''
+# don't use colors/escape sequences
+if [ -r /lib/lsb/init-functions ] ; then
+ . /lib/lsb/init-functions
+ ! log_use_fancy_output && NOCOLORS=true
+fi
+
if [ -r /etc/grml/lsb-functions ] ; then
. /etc/grml/lsb-functions
else