kas-container: write debug messages to stderr
The kas-container trace / debug infrastructure has to write to stderr to not interfer with kas output to stdout. Note, that the kas debug messages already write to stderr. By that, the kas-container script can be used in pipes similar to a direct invocation of kas. Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
1a2de8daa7
commit
9bb1af5ecd
@ -78,7 +78,7 @@ usage()
|
|||||||
|
|
||||||
trace()
|
trace()
|
||||||
{
|
{
|
||||||
[ -n "${KAS_VERBOSE}" ] && echo "+ $*"
|
[ -n "${KAS_VERBOSE}" ] && echo "+ $*" >&2
|
||||||
"$@"
|
"$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user