projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added 'novlandev' interface flag
[util-vserver.git]
/
util-vserver
/
scripts
/
functions
diff --git
a/util-vserver/scripts/functions
b/util-vserver/scripts/functions
index
4b8e4c8
..
4a24bd5
100644
(file)
--- a/
util-vserver/scripts/functions
+++ b/
util-vserver/scripts/functions
@@
-203,14
+203,21
@@
function colorize
esac
fi
- "$@"
+ ( "$@" )
echo -ne "\e[m"
fi
}
function colpanic
{
- colorize error panic "$@"
+ if test -n "$_VS_ERRFILE"; then
+ echo "$@" >>"$_VS_ERRFILE"
+ else
+ colorize echo -n "$@" >&2
+ fi
+ echo
+
+ exit 1
}
function colwarning