projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
672c396
)
Make eerror() use '>&2' instead of '>/dev/stderr'
author
Frank Terbeck
<ft@grml.org>
Tue, 23 Oct 2007 15:22:52 +0000
(17:22 +0200)
committer
Frank Terbeck
<ft@grml.org>
Tue, 23 Oct 2007 15:22:52 +0000
(17:22 +0200)
etc/grml/script-functions
patch
|
blob
|
history
diff --git
a/etc/grml/script-functions
b/etc/grml/script-functions
index
f3f6e20
..
f1599c9
100644
(file)
--- a/
etc/grml/script-functions
+++ b/
etc/grml/script-functions
@@
-350,7
+350,7
@@
ewarn() {
#
eerror() {
if [ "${RC_QUIET_STDOUT}" = "yes" ]; then
#
eerror() {
if [ "${RC_QUIET_STDOUT}" = "yes" ]; then
- printf " $*\n" >
/dev/stderr
+ printf " $*\n" >
&2
else
[ "${RC_ENDCOL}" != "yes" ] && [ "${LAST_E_CMD}" = "ebegin" ] && echo
printf " ${BAD}*${NORMAL} ${RC_INDENTATION}$*\n"
else
[ "${RC_ENDCOL}" != "yes" ] && [ "${LAST_E_CMD}" = "ebegin" ] && echo
printf " ${BAD}*${NORMAL} ${RC_INDENTATION}$*\n"