Fix up all use of /dev/stderr for portability to busybox /bin/sh
authorJason Wessel <jason.wessel@windriver.com>
Tue, 12 Apr 2011 19:11:36 +0000 (21:11 +0200)
committerNils Carlson <nils.carlson@ericsson.com>
Wed, 13 Apr 2011 15:24:33 +0000 (17:24 +0200)
The typical shell on a small embedded target using busybox does
not have support for /dev/stderr.  A more portable way to send
output to stderr with echo is to redirect stdout to stderr with
1>&2.

In the usttrace script it did something that was effectively
a NOP.  The result of echo "" 2>/dev/stderr is not actually
going to send anything to stderr because the echo is going
to write to stdout.  This case was also fixed.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>

No differences found
This page took 0.02438 seconds and 4 git commands to generate.