output tu stderr for pipes

This commit is contained in:
olli 2022-12-02 15:14:25 +01:00
parent 530d1ae511
commit f5e8d0d41d

View File

@ -2,7 +2,7 @@
function g_runcmd {
set -o pipefail
g_echo "running $@"
>&2 echo "running $@"
$@ 2>&1 | tee $g_tmp/g_runcmd-output
g_runcmd_exitcode=$?