projects
/
matthijs
/
upstream
/
backupninja-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Color comments were wrong - error is red, fatal is purple. Comments
[matthijs/upstream/backupninja-vserver.git]
/
src
/
backupninja.in
diff --git
a/src/backupninja.in
b/src/backupninja.in
index 55a3d00410371ff452ebabb31ba661aef7595915..387743fe1934719454b64f61a0095a251120ae06 100755
(executable)
--- a/
src/backupninja.in
+++ b/
src/backupninja.in
@@
-50,8
+50,8
@@
function colorize() {
# 0 - debug - blue
# 1 - normal messages - green
# 2 - warnings - yellow
# 0 - debug - blue
# 1 - normal messages - green
# 2 - warnings - yellow
-# 3 - errors -
orange
-# 4 - fatal -
red
+# 3 - errors -
red
+# 4 - fatal -
purple
# First variable passed is the error level, all others are printed
# if 1, echo out all warnings, errors, or fatal
# First variable passed is the error level, all others are printed
# if 1, echo out all warnings, errors, or fatal